BreachSpiderVerified, not vibes

CVE-2026-32597 in Pyjwt Project Pyjwt

High 7.5

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.3%
EPSS percentile18th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Pyjwt Project Pyjwt < 2.12.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-32597
BreachSpider IDBS-2026-GLOBAL-082007-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2026-03-13
Last modified2026-09-10
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-345: CWE-345

CWE-347: CWE-347

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Related attack patterns (CAPEC)

CAPEC-142 DNS Cache Poisoning via CWE-345

CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345

CAPEC-388 Application API Button Hijacking via CWE-345

Show all 14

CAPEC-463 Padding Oracle Crypto Attack via CWE-347

CAPEC-475 Signature Spoofing by Improper Validation via CWE-347

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345

CAPEC-141 Cache Poisoning via CWE-345

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345

CAPEC-386 Application API Navigation Remapping via CWE-345

CAPEC-701 Browser in the Middle (BiTM) via CWE-345

CAPEC-148 Content Spoofing via CWE-345

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

PyJWT versions prior to 2.12.0 do not validate the crit (Critical) Header Parameter in JWS tokens, which can lead to the acceptance of tokens with unsupported extensions, violating RFC 7515 §4.1.11.

An attacker can craft a JWS token with a crit array containing extensions that PyJWT does not understand. Since PyJWT does not validate the crit header, it will accept the token, potentially leading to unauthorized access or other security issues.

Questions

What is CVE-2026-32597?

PyJWT versions prior to 2.12.0 do not validate the crit (Critical) Header Parameter in JWS tokens, which can lead to the acceptance of tokens with unsupported extensions, violating RFC 7515 §4.1.11.

What is the CVSS score for CVE-2026-32597?

CVE-2026-32597 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.3%.

Is CVE-2026-32597 actively exploited?

No confirmed active exploitation of CVE-2026-32597 as of 2026-09-25.

How do I remediate CVE-2026-32597?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-32597?

CVE-2026-32597 affects Pyjwt Project Pyjwt.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Pyjwt Project","product":"Pyjwt","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-10.