GitHub Advisoryadvisory · Packagist
GHSA-f9x3-7vq9-cph6 Laravel TokenGuard authentication bypass through non-string API credentials
CRITICAL
Official page ↗
- Aliases
- CVE-2026-114509
- Ecosystem
- Packagist
- Packages
- laravel/framework
- Severity
- Critical
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weaknesses
- CWE-1287, CWE-287
- Reviewed
- 2026-10-23
Affected packages
• Packagist laravel/framework: >= 13.0.0, < 13.29.0 → fixed in 13.29.0
• Packagist laravel/framework: < 12.68.0 → fixed in 12.68.0
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.
Related
Alias · CVE (1)
- CVE-2026-114509 Laravel is a web application framework. vulnerability
References
- https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-114509 advisory
- https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5 web
- https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c web
- https://github.com/laravel/framework package
- https://github.com/laravel/framework/releases/tag/v12.68.0 web
- https://github.com/laravel/framework/releases/tag/v13.29.0 web