CriticalGHSA-f9x3-7vq9-cph6CVE-2026-114509

Laravel TokenGuard authentication bypass through non-string API credentials

Published 23 Oct 2026 · Updated 23 Oct 2026

Is your project on an affected laravel/framework?

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

Affected packages

Affected
>=13.0.0 <13.29.0
Fixed in
13.29.0
Update to the fixed version for your release line, for example:composer require laravel/framework:^13.29.0
Affected
<12.68.0
Fixed in
12.68.0
Update to the fixed version for your release line, for example:composer require laravel/framework:^12.68.0

Details

Laravel's built-in TokenGuard, when configured with a standard token-based API guard, may be bypassed to authenticate as an arbitrary existing user without knowledge of their valid API token.

Under certain database configurations (MySQL/MariaDB) an attacker can submit a specially crafted, non-string credential value that is mishandled during the authentication lookup, causing the underlying query to match an unintended user record rather than failing authentication as expected.

Impact

An unauthenticated attacker may authenticate as another user without possessing that user's API token, leading to authentication bypass and account takeover on any route protected by the affected guard.

Is GHSA-f9x3-7vq9-cph6 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

  • 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
  • MediumCVE-2024-13919Laravel 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.