# CVE-2024-52301: Laravel allows environment manipulation via query string

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 44.8%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-11-12T19:32:14.415Z
- Modified: 2026-06-17T08:06:58.240Z
- Also known as: GHSA-gv7v-rgg6-548h, BIT-LARAVEL-2024-52301
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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; before 6.20.45; up to 7.0.0; before 7.30.7; up to 8.0.0; before 8.83.28; up to 9.0.0; and 10 more
- laravel/framework (Packagist): before 6.20.45; from 7.0.0 before 7.30.7; from 8.0.0 before 8.83.28; from 9.0.0 before 9.52.17; from 10.0.0 before 10.48.23; from 11.0.0 before 11.31.0
- debian debian_linux: 11.0
- laravel (Bitnami): before 6.20.45; from 7.0.0 before 7.30.7; from 8.0.0 before 8.83.28; from 9.0.0 before 9.52.17; from 10.0.0 before 10.48.23; from 11.0.0 before 11.31.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:3.1 0.0 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52301> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml> (web)
- <https://github.com/advisories/GHSA-gv7v-rgg6-548h> (advisory)
- <https://github.com/laravel/framework> (package)

## Sources

- CVE List: [CVE-2024-52301](https://www.cve.org/CVERecord?id=CVE-2024-52301), CVE Terms of Use, modified 2024-12-21
- GitHub Advisory Database: [GHSA-gv7v-rgg6-548h](https://github.com/advisories/GHSA-gv7v-rgg6-548h), CC-BY-4.0, modified 2024-12-21
- NVD: [CVE-2024-52301](https://nvd.nist.gov/vuln/detail/CVE-2024-52301), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LARAVEL-2024-52301](https://osv.dev/vulnerability/BIT-LARAVEL-2024-52301), Apache-2.0, modified 2024-12-22

---

Page: https://cve.day/CVE-2024-52301 · Whole record: https://cve.day/CVE-2024-52301.json · Rebuilt by cve.day 2026-11-25T22:58:48.160Z
