Skip to content
Thursday, October 15, 2026AboutContactRSS
Vulnerabilities

Critical Authlib Joserfc Flaw Allows Unauthenticated Payloads in Versions Before 1.7.4

A critical vulnerability in the Python joserfc library permits attackers to bypass signature verification by submitting empty signature arrays in JSON Web Signatures.

Updated with new details.
Illustration: A sleek silver server blade sits open on a clean white desk, exposing its complex circuit boards.
AI-generated illustration: Threat Times

Key points

  • The National Vulnerability Database rates CVE-2026-102946 as critical with a CVSS score of 9.1.
  • The flaw exists in the joserfc.jws.deserialize_json() function for versions prior to 1.7.4.
  • Attackers can supply arbitrary payloads that applications may incorrectly treat as authentic.

The National Vulnerability Database has published details on a critical vulnerability, CVE-2026-102946, affecting the joserfc Python library. This flaw allows attackers to bypass signature verification mechanisms by submitting JSON Web Signatures with empty signature arrays. The issue enables unauthorized users to inject arbitrary data that relying applications may accept as legitimate and authenticated.

At a glance

CVE
CVE-2026-102946
Product
authlib joserfc
CVSS
9.1 Critical
Weakness
CWE-290, CWE-345, CWE-347
Exploited
No known exploitation

The vulnerability stems from how the joserfc.jws.deserialize_json() function processes JWS General JSON Serialization. According to the NVD record, the verify_general_json() loop performs no iterations when presented with an empty signatures array. Because no signature checks are executed, the function returns success by default, assuming no failures occurred. This logic error allows an attacker without a signing key to forge authenticated payloads.

Technical Context and Scope

The National Vulnerability Database assigns this flaw a CVSS score of 9.1, rating it as critical. The weakness is associated with CWE-290, CWE-345, and CWE-347, indicating failures in authentication and integrity verification. The issue specifically impacts the General JSON Serialization path within the library. Other serialization methods, including compact JWS and JWT decoding, Flattened JSON serialization, and JWE JSON processing, do not follow this vulnerable code path and remain unaffected by this specific bypass technique.

Affected Software and Versions

The vulnerability affects the authlib joserfc library in all versions prior to 1.7.4. Developers using this Python package for implementing JSON Object Signing and Encryption standards are at risk if they rely on the general JSON serialization method. The NVD record confirms that the issue is fixed in version 1.7.4. Organizations must identify instances of this library in their software supply chains to determine if they are running vulnerable code that could be exploited by remote attackers.

What should you do?

Security teams should immediately audit their Python dependencies to check for versions of joserfc earlier than 1.7.4. If vulnerable versions are found, upgrade to version 1.7.4 or later as soon as possible. Monitor application logs for unusual authentication patterns or unexpected payload structures that might indicate exploitation attempts. Review security controls around JSON Web Signature validation to ensure other libraries are not similarly configured to accept empty signature arrays as valid.

What to do and how to stay safe: CVE-2026-102946

  • Scan your Python environments for the joserfc library and verify that all installations are version 1.7.4 or newer.
  • Review application logs for successful authentication events that lack corresponding signature verification entries or show empty signature arrays.
  • Implement strict input validation for JSON Web Signatures to reject payloads with empty signature arrays before they reach the library.
  • Monitor vendor announcements and security advisories for updates regarding this vulnerability or related issues in the authlib ecosystem.

Step-by-step guide: Risk-Based Vulnerability Management: Prioritize Fixes by Actual Danger

General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

What is the CVSS score for CVE-2026-102946?

The National Vulnerability Database rates CVE-2026-102946 as critical with a CVSS score of 9.1.

Which versions of joserfc are affected by this vulnerability?

All versions of the authlib joserfc library prior to 1.7.4 are affected by this issue.

Does this flaw affect compact JWS or JWT decoding?

No, the issue affects only the General JSON Serialization path; compact JWS and JWT decoding are not vulnerable.

Sources

  1. CVE Program
CVE-2026-102946joserfcauthlibPythonCVSS 9.1CWE-290
Related articles