Description
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.
Published: 2026-10-21
Score: 9.2 Critical
EPSS: 1.8% Low
KEV: No
Impact: Authentication Bypass
Action: Patch Now
AI Analysis

Impact

Laravel’s TokenGuard can be bypassed when a non-string credential is supplied; the guard fails to reject the malformed input and the underlying authentication lookup treats the value as a legitimate user identifier. This flaw allows an attacker who can send such a crafted credential to API routes protected by TokenGuard to authenticate without knowing a valid API token and to take over an existing user account.

Affected Systems

The vulnerability exists in Laravel framework versions prior to 12.68.0 and 13.29.0 when the application uses a MySQL or MariaDB database. Any deployment of Laravel that has TokenGuard configured for standard token-based API authentication and that has not applied the recommended patch is affected.

Risk and Exploitability

The flaw has a CVSS score of 9.2, indicating a high severity. The EPSS score of 2% indicates a low probability of exploitation, but the lack of strict input validation and the ability to match unintended records mean that exploitation is straightforward for an attacker who can craft the request, making the risk of a successful attack significant. The issue is not listed in the CISA KEV catalog at this time, but its high impact and the nature of the flaw warrant immediate remediation.

Generated by OpenCVE AI on November 5, 2026 at 14:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Laravel framework to version 12.68.0 or later, or 13.29.0 or later, which contain the fix for this token validation bug.
  • If an immediate upgrade is not possible, enforce type checking on API credentials so that only string values are accepted before the lookup process.
  • Implement additional authentication validation to ensure that only valid, authenticated tokens result in access to protected routes, mitigating the risk of unintended credential matches.

Generated by OpenCVE AI on November 5, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-f9x3-7vq9-cph6 Laravel TokenGuard authentication bypass through non-string API credentials
History

Thu, 29 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Laravel
Laravel framework
Vendors & Products Laravel
Laravel framework

Wed, 21 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Laravel TokenGuard authentication bypass through non-string API credentials
Weaknesses CWE-1287
CWE-287
References
Metrics cvssV4_0

{'score': 9.2, 'vector': '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'}


Subscriptions

Laravel Framework
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T18:32:28.863Z

Reserved: 2026-10-21T16:15:06.492Z

Link: CVE-2026-114509

cve-icon Vulnrichment

Updated: 2026-10-28T18:32:10.928Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T22:16:49.710

Modified: 2026-10-28T19:17:28.053

Link: CVE-2026-114509

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T15:00:19Z

Weaknesses
  • CWE-1287

    Improper Validation of Specified Type of Input

  • CWE-287

    Improper Authentication