VU#762428: Authlib library contains a signature‑verification bypass vulnerability

Kurzinfo

Metadaten

  • Original (extern): Link oeffnen
  • Veroeffentlicht: 2026-09-28 19:36 UTC
  • Importiert: 2026-10-20 19:12 UTC
  • CVSS: 9.8
  • Quelle-ID: certcc_vuln
  • uid_hash: e5d219643b4a5aefd312dbc0e53b010582ccaedf018df1cf46ed7ad099571d55

Inhalt

Overview

Authlib (versions up to and including 1.7.2) contain a signature‑verification bypass in the JSON Web Signature (JWS) general JSON serialization handling. The JsonWebSignature.deserialize_json() function accepts a JWS object with an empty "signatures" array and treats the payload as successfully verified, allowing attackers to supply arbitrary forged content without possessing any key material.

Description

Authlib is a Python library that provides tools for implementing OAuth, OpenID Connect, JWT/JWS/JWE (JSON Web Token / JSON Web Signature / JSON Web Encryption), and other modern authentication and authorization standards. It’s widely used in web applications and microservices to handle token creation, cryptographic validation, and secure communication.

As discussed in CVE-2026-96760, a security flaw in Authlib’s handling of JSON Web Signatures (JWS) makes it possible for an attacker to skip signature verification completely. Normally, a JWS should include at least one valid signature to prove the data hasn’t been tampered with. However, Authlib’s deserialize_json() function mistakenly accepts JWS objects even when the "signatures" section is an empty list. Because the function starts by assuming the signatures are valid and never performs any checks when the list is empty, it ends up treating unsigned data as if it were properly signed. This means an attacker could provide a JWS with no signatures, and Authlib would still treat it as trusted. Both ways of loading a JWS in Authlib are affected:

jws.deserialize_json({"payload":"...", "signatures":[]}, key=None)

jws.deserialize('{"payload":"...","signatures":[]}', key=None)

Impact

An attacker can forge arbitrary authenticated payloads without any signing key or credentials. Systems that rely on Authlib’s JWS verification for authentication, authorization, inter-service message integrity, or signed configuration data may accept attacker‑supplied content as legitimate. Potential attack scenarios inlcude the following:

  • Authentication bypass: forged identity or privilege‑escalation claims (e.g., sub=admin).

  • Signed message injection between microservices using JWS.

  • Forged authorization claims such as scopes, roles, or permissions.

  • Integrity bypass in systems relying on signed JWS data.

Solution

The vendor could not be reached to coordinate this vulnerability and an official patch has not been made available at the time of this writing. Users are advised to monitor the project's GitHub repository for updates and install the latest version of this library once a fix has been released.

Acknowledgements

Thank you to Tong Hoang Gia (uziii2208) and Nguyen Minh Tuan (nguyenminhtuan28) for reporting this vulnerability. This document was written by Bob Kemerer.

Vendor Information

    One or more vendors are listed for this advisory. Please reference the full report for more information.

References

https://github.com/authlib/authlib

Other Information

CVE IDs:

CVE-2026-96760

Date Public:

2026-09-28

Date First Published: 2026-09-28

Date Last Updated: 2026-09-28 19:36 UTC

Document Revision: 1

About vulnerability notes

Contact us about this vulnerability

Provide a vendor statement

Verknuepfte CVEs

CVE-ID Severity (Quelle) CVSS (Quelle) Severity (CVE.org) CVSS (CVE.org) EPSS EPSS-Pctl Veroeffentlicht (CVE.org)

CVE-2026-96760

CRITICAL

9.8

CRITICAL

9.8

2026-09-28

Quellen-Details

Bezeichnung Name Kategorie Tags Zielgruppe Sprache Feed-URL
CERT/CC Vulnerability Notes

certcc_vuln

threat_intel - de https://www.kb.cert.org/vuls/atomfeed/