{"id":"CVE-2026-47767","published":"2026-07-14T18:38:36Z","modified":"2026-07-16T14:34:59Z","title":"Symfony: SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI…","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00721,"percentile":0.54873,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-fqc7-9xjw-jrh3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/3228c3806ee511008bea19a95084d460b17e5d25","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.97},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 5.4.46, < 5.4.52",">= 6.4.14, < 6.4.40",">= 7.1.7, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]},{"vendor":"symfony","product":"runtime","versions":[">= 5.4.46, < 5.4.52",">= 6.4.14, < 6.4.40",">= 7.1.7, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-16T14:33:22.499704Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/runtime","vulnerableRanges":[">=5.4.46, <5.4.52",">=6.4.14, <6.4.40",">=7.1.7, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-fqc7-9xjw-jrh3"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=5.4.46, <5.4.52",">=6.4.14, <6.4.40",">=7.1.7, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-fqc7-9xjw-jrh3"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-44349","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2024-50340","parents":[{"from":"CVE-2024-50340","to":"CVE-2026-47767","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/runtime","fromFixed":"5.4.46","toFixed":"5.4.52","daysApart":615},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/runtime","fromFixed":"6.4.14","toFixed":"6.4.40","daysApart":615},{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Runtime/SymfonyRuntime.php"],"commits":["https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa","https://github.com/symfony/symfony/commit/3228c3806ee511008bea19a95084d460b17e5d25"],"basis":"shared function","functions":["__construct","register"]}]}],"packageHistory":[{"cve":"CVE-2024-50340","published":"2024-11-06","fixed":"7.1.7","kev":false},{"cve":"CVE-2026-47767","published":"2026-07-14","fixed":"8.0.12","kev":false}],"package":"Packagist:symfony/runtime"}}