CVE-2024-52301 in Debian Linux and 1 more product
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,...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| 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 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-52301 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-045708-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2024-11-12 |
| Last modified | 2025-08-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-88: CWE-88
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-88
CAPEC-174 Flash Parameter Injection via CWE-88
CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-88
CAPEC-88 OS Command Injection via CWE-88
CAPEC-137 Parameter Injection via CWE-88
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-52301 affects Laravel, a popular web application framework, when the register_argc_argv PHP directive is enabled. This vulnerability allows attackers to manipulate the environment used by the framework, leading to potential information disclosure or other security issues. The vulnerability is fixed in multiple versions of Laravel, and a public proof of concept exists, increasing the risk of exploitation.
The vulnerability is triggered when an attacker sends a specially crafted query string to a Laravel application running with the register_argc_argv PHP directive set to 'on'. This can lead to the framework using an unintended environment for request handling, potentially exposing sensitive information or altering application behavior.
Compensating controls AI-drafted, review before use
Ensure that the register_argc_argv PHP directive is set to 'off' in the PHP configuration. Regularly monitor and update Laravel to the latest secure versions.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-52301?
CVE-2024-52301 affects Laravel, a popular web application framework, when the register_argc_argv PHP directive is enabled. This vulnerability allows attackers to manipulate the environment used by the framework, leading to potential information disclosure or other security issues. The vulnerability is fixed in multiple versions of Laravel, and a public proof of concept exists, increasing the risk of exploitation.
What is the CVSS score for CVE-2024-52301?
CVE-2024-52301 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 3.1%.
Is CVE-2024-52301 actively exploited?
No confirmed active exploitation of CVE-2024-52301 as of 2026-05-30.
How do I remediate CVE-2024-52301?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-52301?
CVE-2024-52301 affects Debian Debian Linux; Laravel Framework.
What NERC-CIP standard applies to CVE-2024-52301?
NERC CIP CIP-007 CIP-007-R2: This CVE could allow an attacker to manipulate the environment used by the Laravel framework, potentially leading to unauthorized access to sensitive information, which violates the requirement for securing electronic access to BES Cyber Systems.
What IEC 62443 requirement maps to CVE-2024-52301?
IEC 62443 SR 7.6: This vulnerability could allow an attacker to manipulate the environment used by the Laravel framework, leading to potential security breaches and unauthorized access to sensitive information, which is a violation of the security requirements for system configuration and management.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-08-26.