# Laravel TokenGuard authentication bypass through non-string API credentials

Critical severity, published 2026-10-23. Update laravel/framework to the fixed version of your branch (13.27.0, 12.68.0, 11.56.1, 10.50.4): composer update laravel/framework.

Canonical URL: https://buzzphp.com/security/ghsa-f9x3-7vq9-cph6 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical |
| Published | 2026-10-23 |
| Updated | 2026-11-10 |
| CVE | [CVE-2026-114509](https://nvd.nist.gov/vuln/detail/CVE-2026-114509) |
| GHSA | [GHSA-f9x3-7vq9-cph6](https://github.com/advisories/GHSA-f9x3-7vq9-cph6) |
| Weakness | CWE-287, CWE-1287 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| laravel/framework | >= 13.0.0, < 13.27.0 or >= 12.0.0, < 12.68.0 or >= 11.0.0, < 11.56.1 or < 10.50.4 | 13.27.0, 12.68.0, 11.56.1, 10.50.4 |

## What to do

Update laravel/framework to the fixed version of your branch (13.27.0, 12.68.0, 11.56.1, 10.50.4): composer update laravel/framework.

Check which version you run with `composer show laravel/framework`, and every affected package with `composer audit`.

## About this advisory

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

- [GHSA-f9x3-7vq9-cph6 on GitHub](https://github.com/advisories/GHSA-f9x3-7vq9-cph6)
- [CVE-2026-114509 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-114509)
- [All Composer security advisories](https://buzzphp.com/security)
