Skip to content
Fencer Intel
high 7.5

CVE-2024-52301 in the critical feed json

Laravel allows environment manipulation via query string

published last yr. modified 4mo ago also BIT-laravel-2024-52301 , EUVD-2024-3258 , GHSA-gv7v-rgg6-548h

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
44.8%
EPSS 44.8% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist laravel/framework 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, 11.31.0
  • bitnami laravel 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, 11.31.0
  • laravel framework 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, 11.31.0
  • php-laravel-framework Debian 14, Debian 13 10.48.25+dfsg-1

debian advisories DEBIAN-CVE-2024-52301

Is CVE-2024-52301 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

44.76% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 4.0 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
GitHub 3.1 0.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
CNA 4.0 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
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
packagist laravel/framework
<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
6.20.45
7.30.7
8.83.28
9.52.17
10.48.23
11.31.0
bitnami laravel
<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
6.20.45
7.30.7
8.83.28
9.52.17
10.48.23
11.31.0

Affected products

  • laravel framework

Classification

Weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.