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
Remediation Steps
Update to versions 12.68.0 or 13.29.0 or later.