Skip to main content

CVE-2026-102946: CWE-290: Authentication Bypass by Spoofing in authlib joserfc

0
Critical
VulnerabilityCVE-2026-102946cvecve-2026-102946cwe-290cwe-345cwe-347
Published: 10/15/2026 (10/15/2026, 18:28:06 UTC)
Source: CVE Database V5
Vendor/Project: authlib
Product: joserfc

Description

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.7.4, joserfc.jws.deserialize_json() accepts a JWS General JSON Serialization with an empty signatures array as authenticated. The verify_general_json() loop performs no iterations for the empty array and returns success because no signature check failed, allowing an attacker without a signing key to supply an arbitrary payload that relying applications may treat as authentic. The issue affects the General JSON Serialization path; compact JWS and JWT decoding, Flattened JSON serialization, and JWE JSON processing do not follow this vulnerable path. This issue is fixed in version 1.7.4.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

authlib

joserfc

Affected versions
<1.7.4
joserfc
pkg:pypi/joserfc
Affected versions
<1.7.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 19:02:42 UTC

Technical Analysis

The authlib joserfc library versions before 1.7.4 contain an authentication bypass vulnerability (CWE-290) in the joserfc.jws.deserialize_json() function. When a JWS General JSON Serialization with an empty signatures array is processed, the verify_general_json() function performs no signature verification iterations and returns success by default. This allows an attacker to bypass signature verification and supply arbitrary payloads that relying applications may accept as authentic. This flaw is limited to the General JSON Serialization path and does not affect other JOSE serialization forms. The issue was resolved in version 1.7.4.

Potential Impact

Successful exploitation allows an unauthenticated attacker to bypass signature verification and supply arbitrary payloads that applications may accept as authentic. This compromises the integrity and authenticity of data processed via the vulnerable General JSON Serialization path, potentially leading to unauthorized actions or data manipulation. The vulnerability does not affect other serialization paths such as compact JWS, JWT decoding, Flattened JSON serialization, or JWE JSON processing.

Mitigation Recommendations

Upgrade to authlib joserfc version 1.7.4 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Applications relying on the General JSON Serialization path should ensure they are not using affected versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-29T20:24:43.341Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad120372cdf04f656517bb9

Added to database: 10/15/2026, 18:49:27 UTC

Last enriched: 10/15/2026, 19:02:42 UTC

Last updated: 10/15/2026, 20:19:18 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses