Advisory

PYSEC-2026-4358

Also known as: CVE-2026-114618, GHSA-fch4-3c6x-j4gc

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-10-22 22:18 UTC
Modified
2026-10-30 10:00 UTC

Affected packages and fixes

authlib

PyPI · All systems

Affected

  • introduced 0, fixed 1.9.0 (ecosystem)

Fixed versions

1.9.0

Fix

  • Fixed version 1.9.0
    pip install --upgrade authlib==1.9.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences