High severity7.5NVD Advisory· Published Nov 12, 2024· Updated Jun 17, 2026
CVE-2024-52301
CVE-2024-52301
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 non-cli SAPIs.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
laravel/frameworkPackagist | < 6.20.45 | 6.20.45 |
laravel/frameworkPackagist | >= 7.0.0, < 7.30.7 | 7.30.7 |
laravel/frameworkPackagist | >= 8.0.0, < 8.83.28 | 8.83.28 |
laravel/frameworkPackagist | >= 9.0.0, < 9.52.17 | 9.52.17 |
laravel/frameworkPackagist | >= 10.0.0, < 10.48.23 | 10.48.23 |
laravel/frameworkPackagist | >= 11.0.0, < 11.31.0 | 11.31.0 |
Affected products
5- osv-coords2 versions
< 6.20.45+ 1 more
- (no CPE)range: < 6.20.45
- (no CPE)range: < 6.20.45
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-gv7v-rgg6-548hghsaADVISORY
- github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548hnvdVendor AdvisoryWEB
- lists.debian.org/debian-lts-announce/2024/12/msg00019.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2024-52301ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yamlghsaWEB
News mentions
0No linked articles in our index yet.