AZSecureby Azguards Technolabs

Security bulletins · Laravel

Laravel TokenGuard authentication bypass (CVE-2026-114509)

On Laravel apps that use the built-in token API guard with MySQL or MariaDB, an attacker can log in as an existing user without knowing their token.

Critical · CVSS 9.2Laravel

Free website scan

Is your store serving malware right now?

Checks home, product, cart and checkout pages, blocklists, exposed files and spam shown only to Google. Takes about a minute.

What happened

Laravel's TokenGuard compared the api_token value from the request with the database in a way that a non-string value could match an existing user. On MySQL and MariaDB that is enough for an unauthenticated attacker to take over an account. The advisory rates it critical (CVSS v4 9.2).

The same day Laravel fixed a moderate bug (CVE-2026-114508) where a read-only request that loads relationships could trigger a destructive operation on a related table. Laravel has since published more fixes for signed URLs (12.72.0 and 13.41.0), so update to the latest release on your line.

What to do

  1. Run composer update laravel/framework and deploy the latest 12.x or 13.x release (12.72.0 / 13.41.0 or later also covers the November signed-URL fixes).
  2. If you use the token guard ("driver" => "token" in config/auth.php), review recent logins and API activity for accounts acting from unusual places, and rotate API tokens.
  3. Check composer.lock by hand too: don't rely only on an automated audit for a fresh advisory.

Not sure if your site is affected?

The free scan looks at your site from outside: what it runs, exposed files, injected scripts and known malicious domains. It can't read your exact patch level. A deep scan can: it checks the installed versions and packages against this bulletin and looks for what attackers leave behind.

Patched late, or not sure when?

A deep scan checks your server with read-only access, and an Azguards engineer signs off the report.

Sources

Posted by the Azguards security team. Last reviewed .