Incorrect authorization in authlib - #VU158829

 

Incorrect authorization in authlib - #VU158829

Published: November 3, 2026


Vulnerability identifier: #VU158829
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to obtain access tokens with scopes exceeding those authorized by the identity provider, potentially gaining unauthorized access to data or operations.

The vulnerability exists due to incorrect authorization in Authlib's IDJAGGrant when redeeming a signed identity assertion without enforcing its scope claim. A remote user can submit valid confidential-client credentials and a valid ID-JAG assertion to the token endpoint while requesting a broader scope to obtain an access token exceeding the identity provider's per-user authorization.

Only deployments that enable the opt-in ID-JAG draft grant are affected, and the broader scope must be permitted by both the client's registration and local application policy.


Affected software

authlib

Remediation

Install security update from vendor's website.

authlib - update to 1.9.2

External References

Related Security Bulletins