PyPI
CVE-2026-96760
Authlib: empty signatures validation in JWS JSON deserialization
- Severity
- Critical 9.1
- Published
- 27 Oct 2026
- Last changed
- 27 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.9.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-6v38-4h7w-rj9h
- Sources
- OSV.dev and GitHub
Description
Authlib (prior to 1.9.0) contains a signature verification bypass vulnerability. The JsonWebSignature.deserialize_json() method accepts a JSON Serialization JWS object and returns the payload as successfully verified without checking for a signature and without requiring a cryptographic key.
authlib/jose/rfc7515/jws.py, read on the installed 1.8.0 artifact:
is_valid is initialised to True and only ever set to False from inside the loop. A JWS JSON Serialization object whose signatures array is empty iterates zero times, so the flag survives and the payload is returned as successfully verified. No key is consulted, because no signature is examined.
Any relying party that calls JsonWebSignature.deserialize_json() on input it did not produce will accept an attacker-authored payload as signed. Where that payload carries identity or authorisation claims, this is a complete authentication bypass by an unauthenticated remote caller with no key material.
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-114618Authlib: Default JWT bearer grant accepts assertions for the wrong audienceMedium 6.8 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
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-96760
- GitHub Advisory Database https://github.com/advisories/GHSA-6v38-4h7w-rj9h