# GHSA-RVJX-G4VQ-C3HV: Without APP\_RUNTIME\_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production

- Database: GitHub
- Severity: CVSS 6.0 (Medium)
- Published: 2026-11-25
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-133762](https://cve.now/CVE-2026-133762.md): symfony/framework-bundle information disclosure in error handling

## Affected versions

- symfony/framework-bundle (Packagist): from 7.4, fixed in 7.4.24
- symfony/symfony (Packagist): from 7.4, fixed in 7.4.24
- symfony/framework-bundle (Packagist): from 8, fixed in 8.1.12
- symfony/symfony (Packagist): from 8, fixed in 8.1.12

## Description

### 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.

### Resolution

The CLI renderer is now used only in debug mode.

The patch for this issue is available [here](https://github.com/symfony/symfony/commit/ebfd0e3731ddc4c9a619054f9994ffb8f97f10df) for branch 7.4 (and forward-ported to 8.1 and 8.2).

### Credits

We would like to thank koe kaverna for reporting the issue and Nicolas Grekas for providing the fix.

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-rvjx-g4vq-c3hv

Page: https://cve.now/GHSA-RVJX-G4VQ-C3HV

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
