CVE-2024-52301
HIGH 8.7CVSS 4.0Laravel environment manipulation via query string
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
- 12 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-88
- Also known as
- BIT-laravel-2024-52301GHSA-gv7v-rgg6-548h
- Sources
- NVDJSONOSV GHSA-gv7v-rgg6-548hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | NONE 0.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
< 6.20.45 | 6.20.45 |
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.30.7 | 7.30.7 |
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.83.28 | 8.83.28 |
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.52.17 | 9.52.17 |
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
>= 10.0.0, < 10.48.23 | 10.48.23 |
| NVD | laravel | frameworkcpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:* |
>= 11.0.0, < 11.31.0 | 11.31.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Packagist | laravel/framework | < 6.20.45 | 6.20.45 |
| OSV | Packagist | laravel/framework | >= 7.0.0, < 7.30.7 | 7.30.7 |
| OSV | Packagist | laravel/framework | >= 8.0.0, < 8.83.28 | 8.83.28 |
| OSV | Packagist | laravel/framework | >= 9.0.0, < 9.52.17 | 9.52.17 |
| OSV | Packagist | laravel/framework | >= 10.0.0, < 10.48.23 | 10.48.23 |
| OSV | Packagist | laravel/framework | >= 11.0.0, < 11.31.0 | 11.31.0 |
References
- https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h · Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52301 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml · WEB
- https://github.com/advisories/GHSA-gv7v-rgg6-548h · ADVISORY
- https://github.com/laravel/framework · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Nov 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Nov 2024)