Laravel TokenGuard - Authentication Bypass
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. References: https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6 https://github.com/ArioVeisa/cve-2026-114509-laravel-tokenguard https://nvd.nist.gov/vuln/detail/CVE-2026-114509 Remediation: Update to versions 12.68.0 or 13.29.0 or later.
url