Original description
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.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- High impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-209 Generation of Error Message Containing Sensitive Information
References
- symfony.com/cve-2026-133762 vendor advisory
- github.com/symfony/symfony/security/advisories/GHSA-rvjx-g4vq-c3hv vendor advisory
- github.com/symfony/symfony/commit/ebfd0e3731ddc4c9a619054f9994ffb8f97f10df patch
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.