SA-CONTRIB-2026-286: Critical severity composer/drupal/stage_file_proxy vulnerability

Published Oct 28, 2026
·
Updated

Stage File Proxy is a general solution for getting production files on a development server on demand. It is not intended for usage on production sites. The module doesn't sufficiently check file URL for malicious content when attempting to do fallback retrieval leading to a cross-site scripting vulnerability. This vulnerability is mitigated by the fact this development module must be enabled on an attacker's target site, and the attacker must be able to upload a malicious file to the "origin" server configured for the module.

Credit

Marcus Johansson (marcus_johansson)

Affected Software

1 affected componentFixes available
composer/drupal/stage_file_proxy<4.0.1, <3.1.7
4.0.13.1.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/stage_file_proxy to a version that resolves this vulnerability.

    Fixed in 4.0.1Fixed in 3.1.7
  2. Compensating control

    Do not use or enable the Stage File Proxy development module on production sites.

Event History

Oct 28, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are realistically exposed?

Sites with the Stage File Proxy development module enabled are exposed. The module is not intended for production use.

2

What does an attacker need to exploit this issue?

An attacker must be able to upload a malicious file to the origin server configured for the module. The vulnerable module must also be enabled on the target site.

3

What can be done if the module cannot be removed immediately?

Disable Stage File Proxy where possible, especially on production sites, and prevent untrusted users from uploading files to the configured origin server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203