{"id":"CVE-2026-47767","summary":"Symfony: SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch","details":"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.","aliases":["GHSA-fqc7-9xjw-jrh3"],"modified":"2026-07-18T03:42:09.961477785Z","published":"2026-07-14T18:38:36.513Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47767.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-436"]},"references":[{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v5.4.52"},{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v6.4.40"},{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v7.4.12"},{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v8.0.12"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47767.json"},{"type":"ADVISORY","url":"https://github.com/symfony/symfony/security/advisories/GHSA-fqc7-9xjw-jrh3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47767"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/3228c3806ee511008bea19a95084d460b17e5d25"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/security-http","events":[{"introduced":"7152f0e4e292719cdeb8306076448036e025569b"},{"fixed":"355f32f4318c962842f016eabd0966fde739f6fc"},{"introduced":"cc13b601fc844036fd6c8e7307845da145d5998b"},{"fixed":"816860d96c4fb7ffd7708ae0531ea6e5a1190773"},{"introduced":"d551ee81377b2b12abe04135564f2e4e6945f90f"},{"fixed":"1fc7ca636cbd2cad29b42cc13c9fd0c681c6efee"},{"introduced":"bea6dc79db4d95c34b77ec27273d812aa64d65be"},{"fixed":"d776945b2dc41c0e609c56c1ef69863ab56856ed"}],"database_specific":{"extracted_events":[{"introduced":"5.4.46"},{"fixed":"5.4.52"},{"introduced":"6.4.14"},{"fixed":"6.4.40"},{"introduced":"7.1.7"},{"fixed":"7.4.12"},{"introduced":"8.0.0"},{"fixed":"8.0.12"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*"}},{"type":"GIT","repo":"https://github.com/symfony/symfony","events":[{"introduced":"057d88bef2d18a10d3b0b8fb093332131dc58e2f"},{"fixed":"eabc5f9ed7831fe6de8d609c5ebc29aed1f8ef8f"},{"introduced":"d1797e5b5b549673b1d5aac7a081af8db9f258e6"},{"fixed":"95a951788e30c45356278f4e4472cbbf552d0eb9"},{"introduced":"5001143568bc2bce9ec77f7a85076aa75d38795e"},{"fixed":"275f5cbccbcc50205206f05e599c4f57009aadb8"},{"introduced":"2e913a829cfbbf9cb38b321bdff1806b44b192eb"},{"fixed":"06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"},{"fixed":"3228c3806ee511008bea19a95084d460b17e5d25"}],"database_specific":{"cpe":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"5.4.46"},{"fixed":"5.4.52"},{"introduced":"6.4.14"},{"fixed":"6.4.40"},{"introduced":"7.1.7"},{"fixed":"7.4.12"},{"introduced":"8.0.0"},{"fixed":"8.0.12"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v6.4.39","v8.0.11","v8.0.9","v5.4.47","v6.4.34","v8.0.8","v8.0.6","v6.4.31","v8.0.4","v8.0.3","v8.0.1","v6.4.30","v8.0.0","v6.4.26","v6.4.25","v6.4.24","v6.4.23","v6.4.22","v6.4.21","v6.4.19","v6.4.18","v6.4.15","v6.4.14","v5.4.46","v5.4.51","v6.4.38","v8.0.10","v6.4.37","v6.4.36","v8.0.7","v6.4.35","v8.0.5","v6.4.33","v6.4.32","v5.4.50","v8.0.2","v6.4.29","v5.4.49","v6.4.28","v6.4.27","v6.4.20","v6.4.17","v6.4.16","v5.4.48"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47767.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}