Live threats

All CVEs / Pyjwt Project

CVE-2026-32597Pyjwt Project Pyjwt

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 13, 2026
Updated
Sep 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-345, CWE-863, CWE-347
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:H/A:N

What happens

PyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.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.12.0 2.12.0 pip install "pyjwt>=2.12.0"
PyPI pyjwt < 2.12.0 2.12.0 pip install "pyjwt>=2.12.0"

Per OSV / GitHub Advisories (GHSA-752w-5fwx-jx9f, PYSEC-2026-120). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyjwt_projectpyjwt< 2.12.0

Official advisories

Also: Red Hat (+13), SUSE (+7)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.