All reports
Critical

Laravel TokenGuard authentication bypass through non-string API credentials

Affected versions

Affected versions
< 10.50.4
Fixed version
10.50.4
Affected versions
>= 12.0.0, < 12.68.0
Fixed version
12.68.0
Affected versions
>= 11.0.0, < 11.56.1
Fixed version
11.56.1
Affected versions
>= 13.0.0, < 13.27.0
Fixed version
13.27.0

Exploitation

CVE-2026-114509

Probability of exploitation in the next 30 days: 1.88%

FIRST EPSS · 2026-11-23

Description

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.

Links

Credits

  • KIKOmanasijev
  • rolandsusans
  • rmcdaniel
  • zyl71