Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6CVE-2026-133762

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

Symfony symfony/framework-bundle

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133762: medium-severity vulnerability (CVSS 6) in Symfony symfony/framework-bundle.

What happened

Original description from the source: Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APP_RUNTIME_MODE 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 APP_RUNTIME_MODE 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 access_control 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.

Why it matters

Medium severity, CVSS 6.

Affected products and versions

Symfony symfony/framework-bundle >= 7.4.0, < 7.4.24; Symfony symfony/framework-bundle >= 8.0.0, < 8.1.12; Symfony symfony/symfony >= 7.4.0, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12

ProductVersionsFixed in
Symfony symfony/framework-bundle>= 7.4.0, < 7.4.24—
Symfony symfony/framework-bundle>= 8.0.0, < 8.1.12—
Symfony symfony/symfony>= 7.4.0, < 7.4.24—
Symfony symfony/symfony>= 8.0.0, < 8.1.12—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-209

Relevant change history

  1. Published

    Preliminary advisory published.