9.2critical
Laravel TokenGuard authentication bypass through non-string API credentials
- Severity
- 9.2critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 1.96% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-f9x3-7vq9-cph6
Description
Laravel is a web application framework. Prior to 12.68.0 and 13.29.0, TokenGuard configured as a standard token-based API guard does not reject a crafted non-string credential. Under affected MySQL or MariaDB configurations, the authentication lookup can match an unintended existing user, allowing an unauthenticated attacker to bypass authentication and take over an account on routes protected by TokenGuard. This issue is fixed in versions 12.68.0 and 13.29.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| laravel framework | < 12.68.0, >= 13.0.0, < 13.29.0 | CVE List |
| laravel/framework (Packagist) | from 13.0.0 before 13.27.0, from 12.0.0 before 12.68.0, from 11.0.0 before 11.56.1, before 10.50.4 | GitHub Advisory Database |
All scores
| GitHub_M | 9.2critical CVSS:4.0 | 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 |
| GitHub | critical CVSS:4.0 | 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 |
Classification
What each source says
CVE List
Laravel is a web application framework. Prior to 12.68.0 and 13.29.0, TokenGuard configured as a standard token-based API guard does not reject a crafted non-string credential. Under affected MySQL or MariaDB configurations, the authentication lookup can match an unintended existing user, allowing an unauthenticated attacker to bypass authentication and take over an account on routes protected by TokenGuard. This issue is fixed in versions 12.68.0 and 13.29.0.
GitHub Advisory Database
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-114509 changed 2026-10-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f9x3-7vq9-cph6 changed 2026-11-10 | CC-BY-4.0 |
| NVD | CVE-2026-114509 changed 2026-10-28 | Public domain |