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.
PUBLISHED5.2CWE-287CWE-1287
Laravel TokenGuard authentication bypass through non-string API credentials
Problem type
Affected products
laravel
framework
< 12.68.0 - AFFECTED
>= 13.0.0, < 13.29.0 - AFFECTED
References
https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5
https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5
https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c
https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c
https://github.com/laravel/framework/releases/tag/v12.68.0
https://github.com/laravel/framework/releases/tag/v12.68.0
https://github.com/laravel/framework/releases/tag/v13.29.0
https://github.com/laravel/framework/releases/tag/v13.29.0
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-114509Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-114509",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-10-21T21:49:29.486Z",
"dateReserved": "2026-10-21T16:15:06.492Z",
"datePublished": "2026-10-21T21:49:29.486Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-21T21:49:29.486Z"
},
"title": "Laravel TokenGuard authentication bypass through non-string API credentials",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "laravel",
"product": "framework",
"versions": [
{
"version": "< 12.68.0",
"status": "affected"
},
{
"version": ">= 13.0.0, < 13.29.0",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-287: Improper Authentication",
"cweId": "CWE-287",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "CWE-1287: Improper Validation of Specified Type of Input",
"cweId": "CWE-1287",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6",
"name": "https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6",
"tags": [
"x_refsource_CONFIRM"
]
},
{
"url": "https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5",
"name": "https://github.com/laravel/framework/commit/8dbb08bccac1be095dba4a9d259a419620f1e8a5",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c",
"name": "https://github.com/laravel/framework/commit/9b21ce0a9bb2b2599978bc0b0df4abea952ad31c",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/laravel/framework/releases/tag/v12.68.0",
"name": "https://github.com/laravel/framework/releases/tag/v12.68.0",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/laravel/framework/releases/tag/v13.29.0",
"name": "https://github.com/laravel/framework/releases/tag/v13.29.0",
"tags": [
"x_refsource_MISC"
]
}
],
"metrics": [
{}
]
}
}
}