THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-8wjv-2p76-3863 (medium) — PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header

[GHSA] GHSA-8wjv-2p76-3863 (medium) — PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header

highgithub_advisoriesPublished 2026-09-29

GHSA-8wjv-2p76-3863 Severity: medium CVE: CVE-2026-102265

PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header

## Package

pyjwt (PyPI)

## Affected versions

tested & verified on: 2.13.0. Every version whose `PyJWS._load()` translates only `ValueError` is affected

## Description

`PyJWS._looad()` (`jwt/api_jws.py:337`) splits the compact token, base64url decodes the hea

Indicators of compromise

Original source: https://github.com/advisories/GHSA-8wjv-2p76-3863