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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-laravel-framework | 10.48.25+dfsg-1 | — |
| Debian 13 | php-laravel-framework | 10.48.25+dfsg-1 | — |
| Debian 12 | php-laravel-framework | No fix yet | — |
| Debian 11 | php-laravel-framework | 6.20.14+dfsg-2+deb11u2 | DLA-3997-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
Nyamort/CVE-2024-52301 ★ 21 · Nov 14, 2024
-
martinhaunschmid/CVE-2024-52301-Research ★ 6 · Nov 15, 2024
A bit of research around CVE-2024-52301
-
fckoo/nanwinata-CVE-2024-52301 ★ 0 · Jul 18, 2025
Arbitrary Argument Injection Scanner CVE-2024-52301
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | laravel/framework | < 6.20.45 | 6.20.45 | GHSA-gv7v-rgg6-548h |
| Packagist | laravel/framework | >= 7.0.0, < 7.30.7 | 7.30.7 | GHSA-gv7v-rgg6-548h |
| Packagist | laravel/framework | >= 8.0.0, < 8.83.28 | 8.83.28 | GHSA-gv7v-rgg6-548h |
| Packagist | laravel/framework | >= 9.0.0, < 9.52.17 | 9.52.17 | GHSA-gv7v-rgg6-548h |
| Packagist | laravel/framework | >= 10.0.0, < 10.48.23 | 10.48.23 | GHSA-gv7v-rgg6-548h |
| Packagist | laravel/framework | >= 11.0.0, < 11.31.0 | 11.31.0 | GHSA-gv7v-rgg6-548h |
Advisories 2
- DLA-3997-1 php-laravel-framework - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-3498 Laravel Framework: Schwachstelle ermöglicht Manipulation von Daten BSI CERT-Bund (WID) · Dec 22, 2024