CVE-2024-52301
published high CVSS 4.0 · 8.7Laravel allows environment manipulation via query string
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Affected | Not stated | GitHub_M |
| laravel | — | framework0 to < 6.20.45 · 0 through 7.0.0 · 0 to < 7.30.7 · 0 through 8.0.0 · 0 to < 8.83.28 · 0 through 9.0.0 · 0 to < 9.52.17 · 0 through 10.0.0 · 0 to < 10.48.23 · 0 through 11.0.0 · 0 to < 11.31.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Debian | bullseye | php-laravel-framework | Advisory build | 6.20.14+dfsg-2+deb11u2 | DLA-3997-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| laravel | framework | < 6.20.45 (affected)>= 7.0.0, < 7.30.7 (affected)>= 8.0.0, < 8.83.28 (affected)>= 9.0.0, < 9.52.17 (affected)>= 10.0.0, < 10.48.23 (affected)>= 11.0.0, < 11.31.0 (affected) | GitHub_M · cna |
| laravel | framework | 0 to < 6.20.45 (affected · custom)0 through 7.0.0 (affected · custom)0 to < 7.30.7 (affected · custom)0 through 8.0.0 (affected · custom)0 to < 8.83.28 (affected · custom)0 through 9.0.0 (affected · custom)0 to < 9.52.17 (affected · custom)0 through 10.0.0 (affected · custom)0 to < 10.48.23 (affected · custom)0 through 11.0.0 (affected · custom)0 to < 11.31.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
2Provider assertions
3GitHub_M · cna
Laravel allows environment manipulation via query string
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a25714a10dbcd524206db977010b9c59239b0945bf116d0fa9229e99657bcb5a
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record