CVE Database›Document archive›CVE-2026-101918

CVE-2026-101918

pyjwt: PyJWT: Denial of Service via deeply nested JSON token payload

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · September 29, 2026

Updated · October 30, 2026

Description

A flaw was found in PyJWT. When processing a JSON Web Token (JWT) prior to signature verification, the parser fails to properly handle deeply nested data, leading to an unhandled recursion error. A remote unauthenticated attacker could exploit this flaw by submitting a specially crafted token, causing the application to raise an unexpected server exception and resulting in a Denial of Service (DoS).

Statement

This vulnerability is rated as Moderate impact because an unauthenticated remote attacker can cause a denial of service at the request level without resulting in process termination, persistent resource exhaustion, or authentication bypass. In Red Hat environments, applications utilizing PyJWT are primarily exposed when processing untrusted JSON Web Tokens through pre-verification decoding routines or automated key retrieval mechanisms. Standard token validation workflows that enforce signature verification prior to payload parsing remain unaffected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-248 · Uncaught Exception