{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-52301","id":"CVE-2024-52301","title":"Laravel allows environment manipulation via query string","description":"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 no","descriptionLong":"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.","published":"2024-11-12T19:32:14.415Z","updated":"2026-10-28T02:30:33.366379260Z","reserved":"2024-11-06T19:00:26.396Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"none","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","rating":"none","source":"GitHub"}],"rating":"high","products":["laravel framework"],"affectedProducts":[{"vendor":"laravel","product":"framework","defaultStatus":null,"versions":[{"version":"< 6.20.45","status":"affected"},{"version":">= 7.0.0, < 7.30.7","status":"affected"},{"version":">= 8.0.0, < 8.83.28","status":"affected"},{"version":">= 9.0.0, < 9.52.17","status":"affected"},{"version":">= 10.0.0, < 10.48.23","status":"affected"},{"version":">= 11.0.0, < 11.31.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"laravel/framework","purl":"pkg:composer/laravel/framework","ranges":["<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"],"fixed":["6.20.45","7.30.7","8.83.28","9.52.17","10.48.23","11.31.0"],"advisory":"GHSA-gv7v-rgg6-548h"}],"cwes":["CWE-88"],"aliases":["BIT-laravel-2024-52301","GHSA-gv7v-rgg6-548h"],"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52301.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52301","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","tags":["advisory"]},{"url":"https://github.com/laravel/framework","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.44757,"epssPercentile":0.98799,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-52301","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52301","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-52301","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gv7v-rgg6-548h","ok":true,"note":"GHSA-gv7v-rgg6-548h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52301","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["laravel"],"critical":["EPSS 45% with CVSS 8.7"],"attention":null}