Menu

Patching CVE-2026-114509: Laravel TokenGuard API Authentication Bypass
📰

Patching CVE-2026-114509: Laravel TokenGuard API Authentication Bypass

DEV Community: php·Chathura Rathnayaka·4 days ago
#HRgAT7j8
#devto#dev#laravel#token#framework
Reading 0:00
15s threshold

A critical authentication bypass vulnerability tracked as CVE-2026-114509 ( GHSA-f9x3-7vq9-cph6 ) affects Laravel applications running versions prior to 12.68.0 and 13.29.0 .

When a route is protected by Laravel's standard token-based API guard ( TokenGuard ), the guard fails to validate that incoming credentials are strictly strings before passing them to the database query builder. Under common MySQL and MariaDB configurations, an unauthenticated attacker can supply a crafted non-string payload to bypass token verification and hijack an existing user account.

Vulnerability Summary & Affected Versions

Field Details

CVE Identifier CVE-2026-114509 / GHSA-f9x3-7vq9-cph6

Weakness Type CWE-1287 (Improper Type Validation) & CWE-287 (Improper Authentication)

Affected Versions laravel/framework < 12.68.0 and >= 13.0.0, < 13.29.0

Patched Versions Laravel 12.68.0+ and Laravel 13.29.0+

Impacted Component Illuminate\Auth\TokenGuard ( driver => 'token' in config/auth.php )

How the Exploit Works (Type Coercion…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.