CVE-2024-52301

Laravel allows environment manipulation via query string

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.

Category

8.7
CVSS
Severity: High
CVSS 4.0 •
EPSS 9.55% Top 10%
Affected: laravel framework
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-52301?
CVE-2024-52301 has been scored as a high severity vulnerability.
How to fix CVE-2024-52301?
To fix CVE-2024-52301, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-52301 being actively exploited in the wild?
It is possible that CVE-2024-52301 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~10% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-52301?
CVE-2024-52301 affects laravel framework.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.