CVE-2026-86762: Php Laravel Api Middleware Group Missing Account State Guard

The stateless API middleware group authenticates requests with a bearer-token guard ('auth:api'/'auth:sanctum') but never registers a middleware that re-checks the account's activated/enabled state on every request. Token authentication only validates the credential itself, so a personal access token issued before the account was deactivated keeps authentica

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-86762-php-laravel-api-middleware-group-missing-account-state-guard --engine opengrep

Description

The stateless API middleware group authenticates requests with a bearer-token guard ('auth:api'/'auth:sanctum') but never registers a middleware that re-checks the account's activated/enabled state on every request. Token authentication only validates the credential itself, so a personal access token issued before the account was deactivated keeps authentica