Weak Authentication Affecting laravel/passport package, versions >=13.0.0, <13.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-LARAVELPASSPORT-15965921
  • published10 Apr 2026
  • disclosed9 Apr 2026
  • creditUnknown

Introduced: 9 Apr 2026

CVE-2026-39976  (opens in a new tab)
CWE-1390  (opens in a new tab)

How to fix?

Upgrade laravel/passport to version 13.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Weak Authentication due to improper validation of oauth_user_id in the TokenGuard::authenticateViaBearerToken() function. An attacker can gain unauthorized access to unrelated user accounts by presenting a machine-to-machine token with a client identifier that is incorrectly interpreted as a user identifier.

CVSS Base Scores

version 4.0
version 3.1