/Vulnerability Library

Laravel TokenGuard - Authentication Bypass

CVE-2026-114509
Verified

Description

Laravel's TokenGuard (driver => token, hash => false) does not validate the credential type before the database lookup. Sending a JSON body with api_token as an array of integers ({"api_token":[0]}) produces a whereIn('api_token', [0]) query; under MySQL/MariaDB implicit casting, every varchar token not starting with a digit evaluates to 0, so the first user row is returned to an unauthenticated attacker.

Severity

Critical

CVSS Score

9.2

Exploit Probability

2%

Published Date

October 25, 2026

Template Author

kosoyyagent

CVE-2026-114509.yaml
9.2Score

CVSS Metrics

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
CVE ID:
cve-2026-114509
CWE ID:
cwe-1287, cwe-287

References

https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6https://github.com/ArioVeisa/cve-2026-114509-laravel-tokenguardhttps://nvd.nist.gov/vuln/detail/CVE-2026-114509

Remediation Steps

Update to versions 12.68.0 or 13.29.0 or later.