PyPI
CVE-2026-114618
Authlib: Default JWT bearer grant accepts assertions for the wrong audience
- Severity
- Medium 6.8
- Published
- 27 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.9.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-fch4-3c6x-j4gc, PYSEC-2026-4358
- Sources
- OSV.dev and GitHub
Description
Authlib's default RFC 7523 JWT bearer grant leaves get_audiences() empty, so verify_claims() only checks that an aud claim exists instead of requiring it to match the current authorization server's token endpoint. An attacker holding a legitimately issued JWT assertion for any audience can present it to a different authorization server sharing the same signing key and obtain an access token.
To be completely transparent, AI tools helped surface it. However, we have independently reproduced and carefully validated the issue. We follow responsible disclosure practices and are sharing this privately.
- Default grant (vulnerable): HTTP 200, access_token issued despite aud: "https://evil.test/token"
- Strict grant (fixed): HTTP 400, error: "invalid_grant" — correctly rejects mismatched audience
- Confirms the default get_audiences() returns empty, so audience validation is effectively skipped
Affected software
| Software | Affected versions |
|---|---|
authlibPyPI · osv:PyPI:authlib |
|
About authlib
- Weekly downloads (PyPI)
- 38,222,635PyPI Stats, 23 Nov 2026
Vulnerabilities in authlib
- In our list
- 9
- Published in the last 12 months
- 9
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-116672Authlib RFC 7592 examples omit registration-access-token client bindingHigh 8.8 30 Oct 2026
- CVE-2026-114616Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)High 7.4 27 Oct 2026
- CVE-2026-114620Authlib: Unvalidated request_uri fetch in JWT-secured authorization request (JAR) leading to SSRFMedium 5.4 27 Oct 2026
- CVE-2026-114617Authlib: ID token can disable its own nonce validation via the nonce_supported claimMedium 4.2 27 Oct 2026
- CVE-2026-114619Authlib: OpenID implicit grant checks raw scope instead of allowed scope before issuing ID tokensMedium 4.6 27 Oct 2026
- CVE-2026-114615Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keysHigh 7.4 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-114618
- GitHub Advisory Database https://github.com/advisories/GHSA-fch4-3c6x-j4gc