Advisory

GHSA-f9x3-7vq9-cph6

Also known as: CVE-2026-114509

Summary

Laravel TokenGuard authentication bypass through non-string API credentials

Details

Laravel's built-in TokenGuard, when configured with a standard token-based API guard, may be bypassed to authenticate as an arbitrary existing user without knowledge of their valid API token.

Under certain database configurations (MySQL/MariaDB) an attacker can submit a specially crafted, non-string credential value that is mishandled during the authentication lookup, causing the underlying query to match an unintended user record rather than failing authentication as expected.

Impact
An unauthenticated attacker may authenticate as another user without possessing that user's API token, leading to authentication bypass and account takeover on any route protected by the affected guard.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-10-23 21:50 UTC
Modified
2026-11-10 19:15 UTC

Affected packages and fixes

laravel/framework

Packagist · All systems

Affected

  • introduced 13.0.0, fixed 13.27.0 (ecosystem)

Fixed versions

13.27.0

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 12.0.0, fixed 12.68.0 (ecosystem)

Fixed versions

12.68.0

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 11.0.0, fixed 11.56.1 (ecosystem)

Fixed versions

11.56.1

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 0, fixed 10.50.4 (ecosystem)

Fixed versions

10.50.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences