Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-39976— Laravel Passport's TokenGuard Authenticates Unrelated User for Client Credentials Tokens

CVSS 7.1 · High EPSS 0.06% · P20
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-39976

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Laravel Passport's TokenGuard Authenticates Unrelated User for Client Credentials Tokens
Source: NVD (National Vulnerability Database)
Vulnerability Description
Laravel Passport provides OAuth2 server support to Laravel. From 13.0.0 to before 13.7.1, there is an Authentication Bypass for client_credentials tokens. the league/oauth2-server library sets the JWT sub claim to the client identifier (since there's no user). The token guard then passes this value to retrieveById() without validating it's actually a user identifier, potentially resolving an unrelated real user. Any machine-to-machine token can inadvertently authenticate as an actual user. This vulnerability is fixed in 13.7.1.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
认证机制不恰当
Source: NVD (National Vulnerability Database)
Vulnerability Title
passport 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
passport是美国Jared Hanson个人开发者的一个与 Express 兼容的 Node.js 身份验证中间件。 Passport 13.0.0至13.7.1之前版本存在授权问题漏洞,该漏洞源于client_credentials令牌的身份验证绕过,可能导致任何机器对机器令牌无意中认证为实际用户。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
laravelpassport >= 13.0.0, < 13.7.1 -

II. Public POCs for CVE-2026-39976

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 9241 chars
Paid plan includes:
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-39976

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-39976

No comments yet


Leave a comment