6.8Media

CVE-2026-114618Authlib: Default JWT bearer grant accepts assertions for the wrong audience

authlib authlib Publicada: (hace 24 días)

Descripción

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.

Debilidad (CWE): CWE-287CWE-1188

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
authlib authlib < 1.9.0

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:* < 1.9.0