CVE-2026-133762: Without APP_RUNTIME_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production

Published Nov 25, 2026
·
Updated

Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APPRUNTIMEMODE env var. When this variable isn't set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with CliErrorRenderer. This renderer dumps the whole exception, and it did so even when debug was off.

HTTP workers that run under the CLI SAPI and don't set APPRUNTIMEMODE then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of accesscontrol rules. Their dump then contains the server parameters, with all the environment variables of the application.

This affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn't affected.

The CLI renderer is now used only in debug mode.

Affected Software

2 affected components
composer/symfony/framework-bundle>=7.4.0
composer/baldinof/roadrunner-bundle<3.2.4

Event History

Nov 25, 2026
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Production HTTP workers running under the CLI SAPI are exposed when APP_RUNTIME_MODE is unset. Examples include RoadRunner, Swoole, and ReactPHP runners using php-runtime, as well as baldinof/roadrunner-bundle versions before 3.2.4. FrankenPHP worker mode is not affected because it sets the variable.

2

What must happen for sensitive data to be returned to a client?

An exception must be raised by an HTTP request while the worker uses the CLI error renderer. The issue occurs even with debug disabled, because the CLI renderer can return exception messages, file paths, and stack traces in the HTTP error response.

3

What information could be exposed?

Responses can include the complete exception dump, including messages, file paths, and traces. Exceptions that reference the request, such as access-control denial errors, can also expose server parameters containing the application's environment variables.

4

What can be done if updating is not immediately possible?

Ensure APP_RUNTIME_MODE is set for HTTP worker processes so they do not fall back to CLI runtime mode. Review production error responses and logs for exception dumps, particularly from access-control failures, to determine whether environment variables may already have been disclosed.

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