Vulnerability · Published Jul 14, 2026 · Assigned by GitHub_M
CVE-2026-47767Symfony: SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch
High 8.3
In plain English
A high-severity security flaw in runtime from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 5.4.46 until 5.4.52, 6.4.40, 7.4.12, and 8.0.12, the CVE-2024-50340 fix gated runtime argv parsing on empty($_GET), but parse_str() and the web SAPI can disagree, allowing a crafted query string to leave $_GET empty while $_SERVER['argv'] still carries attacker-controlled --env or --no-debug flags that change APP_ENV or APP_DEBUG. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | symfony | 5.4.52+dfsg-0+deb12u1 | DEBIAN-CVE-2026-47767 |
| Debian:13 | symfony | 6.4.41+dfsg-0+deb13u1 | DEBIAN-CVE-2026-47767 |
| Debian:14 | symfony | 7.4.12+dfsg-1 | DEBIAN-CVE-2026-47767 |
| Packagist | symfony/runtime | 8.0.12 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/runtime | 6.4.40 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/runtime | 7.4.12 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/runtime | 5.4.52 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/symfony | 7.4.12 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/symfony | 5.4.52 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/symfony | 6.4.40 | GHSA-fqc7-9xjw-jrh3 |
| Packagist | symfony/symfony | 8.0.12 | GHSA-fqc7-9xjw-jrh3 |
| Ubuntu:26.04:LTS | symfony | no fix listed | UBUNTU-CVE-2026-47767 |
| Ubuntu:26.10 | symfony | no fix listed | UBUNTU-CVE-2026-47767 |
Affected products (as reported)
Weakness: CWE-436 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/symfony/symfony/security/advisories/GHSA-fqc7-9xjw-jrh3 x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/3228c3806ee511008bea19a95084d460b17e5d25 x_refsource_MISC
- https://github.com/symfony/symfony/releases/tag/v5.4.52 x_refsource_MISC
- https://github.com/symfony/symfony/releases/tag/v6.4.40 x_refsource_MISC
- https://github.com/symfony/symfony/releases/tag/v7.4.12 x_refsource_MISC
- https://github.com/symfony/symfony/releases/tag/v8.0.12 x_refsource_MISC