Vulnerability PYSEC-2026-4358

Medium Risk
MEDIUM RISK
CVSS Score: 6.8
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
8 days ago
October 22, 2026 at 10:18 PM UTC
No summary available
0.1rc0 - 1.8.0
0.1rc0 - 1.8.0

Details

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, the default RFC 7523 JWTBearerGrant.get_audiences() returns an empty list, causing JWTBearerGrant.verify_claims() to require only that an aud claim exists without matching the current authorization server. An attacker holding a legitimate assertion for another service can present it to a server that shares the signing key and uses the default grant, obtaining an access token across a trust boundary. Implementations that override get_audiences() with the server's valid audience identifiers are not affected. This issue is fixed in version 1.9.0.

Impacted packages

Timeline

Published
8 days ago
October 22, 2026 at 10:18 PM UTC
Fixed (1.9.0)
16 days ago
October 14, 2026 at 07:55 AM UTC
Last Modified
17 hours ago
October 30, 2026 at 10:00 AM UTC