---
id: CVE-2026-114509
title: Laravel TokenGuard authentication bypass through non-string API credentials
summary: >-
  Laravel is a web application framework. Prior to 12.68.0 and 13.29.0,
  TokenGuard configured as a standard token-based API guard does not reject a
  crafted non-string credential. Under affected MySQL or MariaDB configurations,
  the authenti…
severity: critical
cvss: 9.2
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-287
  - CWE-1287
vendor: laravel
product: framework
affected:
  - framework < 12.68.0
  - 'framework >= 13.0.0, < 13.29.0'
published: '2026-10-21'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T21:49:29.486Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114509'
references:
  - url: >-
      https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
    label: >-
      https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
  - url: >-
      https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5
    label: >-
      https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5
  - url: >-
      https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c
    label: >-
      https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c
  - url: 'https://github.com/laravel/framework/releases/tag/v12.68.0'
    label: 'https://github.com/laravel/framework/releases/tag/v12.68.0'
  - url: 'https://github.com/laravel/framework/releases/tag/v13.29.0'
    label: 'https://github.com/laravel/framework/releases/tag/v13.29.0'
tags:
  - cve.org
ingestedAt: '2026-10-21T22:18:33.745Z'
---

## Overview

Laravel is a web application framework. Prior to 12.68.0 and 13.29.0, TokenGuard configured as a standard token-based API guard does not reject a crafted non-string credential. Under affected MySQL or MariaDB configurations, the authentication lookup can match an unintended existing user, allowing an unauthenticated attacker to bypass authentication and take over an account on routes protected by TokenGuard. This issue is fixed in versions 12.68.0 and 13.29.0.

## Affected

- `framework < 12.68.0`
- `framework >= 13.0.0, < 13.29.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
