Symfony: 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… (CVE-2026-47767)
Description
A vulnerability in Symfony PHP framework versions from 5.4.46 until 5.4.52, 6.4.40, 7.4.12, and 8.0.12 allows crafted query strings to bypass runtime argv parsing checks. This discrepancy between parse_str() and the web SAPI can leave $_GET empty while attacker-controlled flags in $_SERVER['argv'] modify application environment variables such as APP_ENV or APP_DEBUG. The issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
CVSS v3.1
Score 9.8critical
Affected software
pkg:deb/ubuntu/symfony?arch=source&distro=xenialpkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/symfony?arch=source&distro=stonkingpkg:deb/ubuntu/symfony?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Symfony is a PHP framework used for web and console applications. A flaw exists in versions from 5.4.46 up to but not including 5.4.52, and in versions 6.4.40, 7.4.12, and 8.0.12, where the fix for CVE-2024-50340 gated runtime argv parsing based on empty($_GET). However, parse_str() and the web SAPI can disagree, allowing a crafted query string to leave $_GET empty while $_SERVER['argv'] still contains attacker-controlled flags such as --env or --no-debug. These flags can modify APP_ENV or APP_DEBUG, potentially changing application behavior. The vulnerability is addressed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
Potential Impact
An attacker can craft a query string that bypasses the intended argv parsing restrictions, enabling them to inject command-line flags that alter critical application environment variables like APP_ENV and APP_DEBUG. This can lead to unauthorized changes in application configuration, potentially causing information disclosure, altered application behavior, or denial of service. The CVSS score of 9.8 indicates a critical impact with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality, integrity, and availability impacts.
Mitigation Recommendations
A fix is available and has been implemented in Symfony versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12. Users should upgrade to these versions or later to remediate this vulnerability. No additional mitigation steps are indicated beyond applying the official patches.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-47767
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6ad3f6312cdf04f656664f0a
Added to database: 10/17/2026, 22:26:57 UTC
Last enriched: 10/18/2026, 01:08:27 UTC
Last updated: 10/18/2026, 01:08:27 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.