{"id":"CVE-2024-52301","published":"2024-11-12T19:32:14Z","modified":"2024-12-21T17:02:39Z","title":"Laravel allows environment manipulation via query string","vendor":"laravel","product":"framework","tier":"core","eol":null,"affectedVersions":[{"vendor":"laravel","product":"framework","versions":["< 6.20.45",">= 7.0.0, < 7.30.7",">= 8.0.0, < 8.83.28",">= 9.0.0, < 9.52.17",">= 10.0.0, < 10.48.23",">= 11.0.0, < 11.31.0"]}],"description":{"text":"Laravel is a web application framework. When the register_argc_argv php directive is set to on , and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request. The vulnerability fixed in 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, and 11.31.0. The framework now ignores argv values for environment detection on non-cli SAPIs.","provenance":"source","from":"CVE.org"},"summary":{"text":"Laravel's web application framework contains a flaw in its environment detection, which can be influenced by query string input when the PHP directive register_argc_argv is enabled. An unauthenticated remote attacker with network access can craft a special query string in a request to any URL, with no user interaction needed, to change the environment the framework uses to handle that request.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T12:59:35Z"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.44757,"percentile":0.98771,"date":"2026-10-30","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-06-08","exploitedFirstSeen":"2025-06-08","ransomware":false,"evidence":[{"url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2024-52301","date":"2025-06-08"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"oanshdwi","url":"https://otx.alienvault.com/pulse/69eb14ae92864b30c2decf54","created":"2026-04-24"}],"provenance":"machine"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":["<6.20.45",">=7.0.0, <7.30.7",">=8.0.0, <8.83.28",">=9.0.0, <9.52.17",">=10.0.0, <10.48.23",">=11.0.0, <11.31.0"],"patched":["6.20.45","7.30.7","8.83.28","9.52.17","10.48.23","11.31.0"],"from":["GHSA-gv7v-rgg6-548h"],"provenance":"source"}],"advisories":[{"id":"GHSA-gv7v-rgg6-548h","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","severity":"HIGH","ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":["<6.20.45"],"patched":["6.20.45"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gv7v-rgg6-548h","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","severity":"HIGH","ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":[">=7.0.0, <7.30.7"],"patched":["7.30.7"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gv7v-rgg6-548h","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","severity":"HIGH","ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":[">=8.0.0, <8.83.28"],"patched":["8.83.28"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gv7v-rgg6-548h","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","severity":"HIGH","ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":[">=9.0.0, <9.52.17"],"patched":["9.52.17"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gv7v-rgg6-548h","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","severity":"HIGH","ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":[">=10.0.0, <10.48.23"],"patched":["10.48.23"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gv7v-rgg6-548h","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","severity":"HIGH","ecosystem":"Packagist","package":"laravel/framework","vulnerableRanges":[">=11.0.0, <11.31.0"],"patched":["11.31.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-3258","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-3258","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2024-11-14","earliestUrl":"https://github.com/Nyamort/CVE-2024-52301","repos":[{"name":"Nyamort/CVE-2024-52301","url":"https://github.com/Nyamort/CVE-2024-52301","stars":21,"created":"2024-11-14"},{"name":"martinhaunschmid/CVE-2024-52301-Research","url":"https://github.com/martinhaunschmid/CVE-2024-52301-Research","stars":6,"created":"2024-11-15"},{"name":"fckoo/nanwinata-CVE-2024-52301","url":"https://github.com/fckoo/nanwinata-CVE-2024-52301","stars":0,"created":"2025-07-18"}]},"first":{"date":"2024-11-14","source":"PoC-in-GitHub","url":"https://github.com/Nyamort/CVE-2024-52301"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-11-12","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-52301","provenance":"source"},{"date":"2024-11-14","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/Nyamort/CVE-2024-52301","provenance":"source"},{"date":"2025-06-08","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2024-52301","provenance":"source"}],"speed":{"daysToPublicExploit":2,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":66.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 510 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.75,"detail":"percentile 0.9877"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":6.09,"detail":"base score 8.7"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2020-24941","published":"2020-09-04","fixed":"7.24.0","kev":false},{"cve":"CVE-2021-21263","published":"2021-01-19","fixed":"8.22.1","kev":false},{"cve":"CVE-2021-43808","published":"2021-12-07","fixed":"8.75.0","kev":false},{"cve":"CVE-2024-52301","published":"2024-11-12","fixed":"11.31.0","kev":false},{"cve":"CVE-2024-13918","published":"2025-03-10","fixed":"11.36.0","kev":false,"link":{"from":"CVE-2024-52301","to":"CVE-2024-13918","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:laravel/framework","fromFixed":"11.31.0","toFixed":"11.36.0","daysApart":118}]}},{"cve":"CVE-2024-13919","published":"2025-03-10","fixed":"11.36.0","kev":false,"link":{"from":"CVE-2024-52301","to":"CVE-2024-13919","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:laravel/framework","fromFixed":"11.31.0","toFixed":"11.36.0","daysApart":118}]}},{"cve":"CVE-2025-27515","published":"2025-03-05","fixed":"12.1.1","kev":false,"link":{"from":"CVE-2024-52301","to":"CVE-2025-27515","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:laravel/framework","fromFixed":"10.48.23","toFixed":"10.48.29","daysApart":113}]}}],"package":"Packagist:laravel/framework"}}