Live threats

All CVEs / Pyjwt Project

CVE-2026-102265Pyjwt Project Pyjwt

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Sep 28, 2026
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs when a deeply nested token header reaches json.loads. As a result, RecursionError escapes the documented PyJWT error hierarchy. Consequently, an unauthenticated malformed token can cause a request-level failure and HTTP 500. This issue is fixed in version 2.14.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pyjwt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pyjwt ≥ 2.13.0 < 2.14.0 2.14.0 pip install "pyjwt>=2.14.0"
PyPI pyjwt ≥ 2.13.0 < 2.14.0 2.14.0 pip install "pyjwt>=2.14.0"

Per OSV / GitHub Advisories (GHSA-8wjv-2p76-3863, PYSEC-2026-4142). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyjwt_projectpyjwt2.13.0

Official sources

References

Links published by the sources. Open them with care.