CVE-2026-47767

Symfony: SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch

State
Published
Severity
8.3 High
Published
Jul 14, 2026
Updated
Jul 16, 2026
Reserved
May 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.3 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

Affected Products

ProductVersions
symfonysymfony
  • >= 5.4.46, < 5.4.52Affected
  • >= 6.4.14, < 6.4.40Affected
  • >= 7.1.7, < 7.4.12Affected
  • >= 8.0.0-BETA1, < 8.0.12Affected
runtimesymfony
  • >= 5.4.46, < 5.4.52Affected
  • >= 6.4.14, < 6.4.40Affected
  • >= 7.1.7, < 7.4.12Affected
  • >= 8.0.0-BETA1, < 8.0.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.