Laravel TokenGuard Flaw CVE-2026-114509 Enables API Authentication Bypass
A critical authentication bypass vulnerability, tracked as CVE-2026-114509, affects Laravel applications running versions before 12.68.0 and 13.29.0. It occurs when routes use the native token-based API guard, which fails to confirm that supplied credentials are strings before passing them to the database query builder. Under common MySQL and MariaDB configurations, an unauthenticated attacker can send a crafted non-string payload to bypass token verification and take over an existing user account. Developers are advised to run composer audit, verify their framework version, and check config/auth.php for token drivers. The recommended fix is updating laravel/framework to a patched release, with interim mitigations including strict string validation middleware and enabling token hashing or migrating to Sanctum.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in