Live threats

All CVEs / Laravel

CVE-2024-52301Laravel Framework

High 8.7 No auth needed

Priority
68
CVSS 4.0
8.7
EPSS
3.1%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Nov 12, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
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:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Framework.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist laravel/framework < 6.20.45 6.20.45 composer require "laravel/framework:^6.20.45"
Packagist laravel/framework ≥ 7.0.0 < 7.30.7 7.30.7 composer require "laravel/framework:^7.30.7"
Packagist laravel/framework ≥ 8.0.0 < 8.83.28 8.83.28 composer require "laravel/framework:^8.83.28"
Packagist laravel/framework ≥ 9.0.0 < 9.52.17 9.52.17 composer require "laravel/framework:^9.52.17"
Packagist laravel/framework ≥ 10.0.0 < 10.48.23 10.48.23 composer require "laravel/framework:^10.48.23"
Packagist laravel/framework ≥ 11.0.0 < 11.31.0 11.31.0 composer require "laravel/framework:^11.31.0"

Per OSV / GitHub Advisories (GHSA-gv7v-rgg6-548h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
laravelframework< 6.20.45
laravelframework≥ 7.0.0 < 7.30.7
laravelframework≥ 8.0.0 < 8.83.28
laravelframework≥ 9.0.0 < 9.52.17
laravelframework≥ 10.0.0 < 10.48.23
laravelframework≥ 11.0.0 < 11.31.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.