HighGHSA-gv7v-rgg6-548hBIT-laravel-2024-52301CVE-2024-52301

Laravel environment manipulation via query string

Published 12 Nov 2024 · Updated 21 Dec 2024

Is your project on an affected laravel/framework?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Affected packages

Affected
<6.20.45
Fixed in
6.20.45
Update to the fixed version for your release line, for example:composer require laravel/framework:^6.20.45
Affected
>=7.0.0 <7.30.7
Fixed in
7.30.7
Update to the fixed version for your release line, for example:composer require laravel/framework:^7.30.7
Affected
>=8.0.0 <8.83.28
Fixed in
8.83.28
Update to the fixed version for your release line, for example:composer require laravel/framework:^8.83.28
Affected
>=9.0.0 <9.52.17
Fixed in
9.52.17
Update to the fixed version for your release line, for example:composer require laravel/framework:^9.52.17
Affected
>=10.0.0 <10.48.23
Fixed in
10.48.23
Update to the fixed version for your release line, for example:composer require laravel/framework:^10.48.23
Affected
>=11.0.0 <11.31.0
Fixed in
11.31.0
Update to the fixed version for your release line, for example:composer require laravel/framework:^11.31.0

Details

Description

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.

Resolution

The framework now ignores argv values for environment detection on non-cli SAPIs.

Is GHSA-gv7v-rgg6-548h in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/framework, and gives you the command that fixes it.

More advisories for laravel/framework

  • CriticalCVE-2026-114509Laravel TokenGuard authentication bypass through non-string API credentials · 23 Oct 2026
  • MediumCVE-2026-114508Laravel relationship inclusion can trigger unauthorized data destruction · 23 Oct 2026
  • LowCVE-2026-102279Laravel: XSS in Debug Page Information · 29 Sept 2026
  • MediumGHSA-crmm-hgp2-wgrpLaravel Framework: Temporary Signed URL Path Confusion · 17 Jun 2026
  • HighCVE-2026-48019Laravel Framework: CRLF injection in default email rule · 17 Jun 2026
  • MediumCVE-2024-13918Laravel framework susceptible to reflected cross-site scripting · 10 Mar 2025
All 28 advisories for laravel/framework

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.