← Vulnerability feed

Vulnerability record · CVE-2024-52301 · published 12 November 2024

CVE-2024-52301: Laravel framework argument injection alters request environment

Laravel · Framework

Laravel mishandles the register_argc_argv PHP directive: when that directive is on, a crafted query string on any URL can inject argv values that change the environment the framework uses to handle the request. This matters because environment selection drives configuration and security-relevant behavior, and the flaw is remotely reachable without authentication. Fixed versions are 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23 and 11.31.0.

8.7 CVSS 4.0 High EPSS 45% · top 1.3% CWE-88 · Argument injection
8.7CVSS 4.0 base score
45%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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.

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:

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityRemote, unauthenticated argument injection with high integrity impact and a high EPSS score, though no known exploitation or KEV listing.

What it is

Laravel mishandles the register_argc_argv PHP directive: when that directive is on, a crafted query string on any URL can inject argv values that change the environment the framework uses to handle the request. This matters because environment selection drives configuration and security-relevant behavior, and the flaw is remotely reachable without authentication. Fixed versions are 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23 and 11.31.0.

Impact

An attacker can force the application into an unintended environment, which can expose non-production configuration or weaken environment-dependent protections. The CVSS 4.0 vector shows high integrity impact with no confidentiality or availability impact.

Attack surface

Reached over the network by calling any URL with a specially crafted query string; no authentication or user interaction is required per the CVSS vector. It only applies where the PHP register_argc_argv directive is enabled.

Exploitation

Not listed in CISA KEV and no public exploit or ransomware use is recorded in the references. EPSS is high at roughly 0.448 (98.7th percentile), indicating elevated likelihood of attempted exploitation.

What to do

  • Upgrade Laravel to 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, 11.31.0 or later; the fix ignores argv values for environment detection on non-CLI SAPIs.
  • If immediate upgrade is not possible, set register_argc_argv=Off in PHP configuration for web SAPI processes.
  • Apply the Debian security update for packaged Laravel where applicable.
  • Audit application environment configuration so that a forced environment switch cannot expose debug mode, alternate credentials or relaxed security settings.

Detection

  • Search web server and application logs for requests with unusual query strings containing argv-style or environment-like parameters.
  • Monitor for unexpected changes in application environment or configuration behavior per request, such as debug output or non-production settings appearing in responses.
  • Verify the register_argc_argv setting across PHP-FPM, Apache mod_php and other web SAPI deployments and alert on hosts where it is enabled.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-52301 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2024-52301), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.