CVE-2026-114618

Authlib: Default JWT bearer grant accepts assertions for the wrong audience

State
Published
Severity
6.8 Medium
Published
Oct 22, 2026
Updated
Oct 29, 2026
Reserved
Oct 21, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-287 Improper Authentication
  • CWE-1188 Insecure Default Initialization of Resource

Affected Products

ProductVersions
authlibauthlib
  • < 1.9.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.