CVE-2026-133762 in FrameworkBundleinfo

Summary

by MITRE • 11/25/2026

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.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

A critical information disclosure vulnerability exists within Symfony FrameworkBundle versions starting from 7.4.0, where the framework incorrectly selects an error rendering strategy that exposes sensitive internal application data to external observers. The root cause lies in how the runtime environment determines which error renderer to utilize based on the APP_RUNTIME_MODE environment variable. When this variable is not explicitly configured, certain Server API modes such as CLI, phpdbg, and embedded SAPIs default to a CLI mode. In this state, the framework employs CliErrorRenderer for handling exceptions. This specific renderer was designed primarily for local development environments where verbose output is expected, but it lacks sufficient safeguards to prevent data leakage in production contexts that mimic these execution modes.

The operational impact of this flaw is severe because HTTP workers running under the CLI SAPI without an explicit APP_RUNTIME_MODE setting will inadvertently send full exception dumps as part of their error responses. These dumps include detailed stack traces, file paths, and raw exception messages. More critically, when exceptions are related to request handling, such as access denied errors triggered by security access control rules, the dumped data includes server parameters. This encompasses all environment variables configured for the application, which often contain database credentials, API keys, session secrets, and other high-value sensitive information. Consequently, any client or network observer receiving these error responses can extract confidential configuration details that should remain internal to the application infrastructure.

This vulnerability specifically impacts applications utilizing specific PHP runtime runners such as RoadRunner, Swoole, and ReactPHP via php-runtime, particularly when using baldinof/roadrunner-bundle versions prior to 3.2.4. These workers often operate in a manner that resembles CLI execution from the perspective of the Symfony framework if not properly configured with the correct runtime mode indicator. In contrast, environments like FrankenPHP worker mode explicitly set the necessary variable and are therefore unaffected by this logic flaw. The vulnerability represents a classic case of misconfiguration leading to information exposure, where the default behavior for development-oriented tools is incorrectly applied to production-facing services that handle external HTTP requests.

From a classification perspective, this issue aligns with CWE-209: Generation of Error Message Containing Sensitive Information and CWE-532: Insertion of Sensitive Information into Log File, as it involves the leakage of internal state through standard output channels intended for debugging rather than user-facing error pages. In terms of MITRE ATT&CK mapping, this behavior facilitates reconnaissance activities by allowing attackers to gather information about the application architecture, technology stack, and potential attack vectors based on exposed file paths and environment variable names. The exposure of server parameters also touches upon CWE-798: Use of Hard-coded Credentials if those variables contain static secrets.

To mitigate this vulnerability, developers must ensure that APP_RUNTIME_MODE is explicitly set to a value appropriate for production environments when using HTTP workers under CLI SAPIs. This prevents the framework from falling back to the verbose CliErrorRenderer and instead directs it toward renderers designed for public-facing error handling which do not expose internal stack traces or server parameters. For users of affected bundles like baldinof/roadrunner-bundle, upgrading to version 3.2.4 or later is recommended as these updates include fixes that properly configure the runtime mode automatically. Additionally, implementing strict logging policies and ensuring that debug modes are disabled in production environments provides an additional layer of defense against similar information disclosure risks across the Symfony ecosystem.

Responsible

Symfony

Reservation

11/20/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00710

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!