Skip to main content
VulnerabilityPublished Updated

CVE-2026-32597: Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515

Affects pyjwtSource GCVE Database

0
Compare
Authoritative record:CVE-2026-32597· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 1.3.0-1ubuntu0.1+esm1 : patch pyjwt soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.0-1ubuntu0.1+esm1, 1.5.3+ds1-1ubuntu0.1+esm1, 1.7.1-2ubuntu2.1+esm1 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10pyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=questingOther threatsAffected
  • <2.10.1-2ubuntu0.1
Fixed in
  • 2.10.1-2ubuntu0.1
Ubuntu 24.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=nobleOther threatsAffected
  • <2.7.0-1ubuntu0.1
Fixed in
  • 2.7.0-1ubuntu0.1
Ubuntu 22.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=jammyOther threatsAffected
  • <2.3.0-1ubuntu0.3
Fixed in
  • 2.3.0-1ubuntu0.3
Ubuntu Pro 20.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.7.1-2ubuntu2.1+esm1
Fixed in
  • 1.7.1-2ubuntu2.1+esm1
Ubuntu Pro 18.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.5.3+ds1-1ubuntu0.1+esm1
Fixed in
  • 1.5.3+ds1-1ubuntu0.1+esm1
Ubuntu Pro 16.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <1.3.0-1ubuntu0.1+esm1
Fixed in
  • 1.3.0-1ubuntu0.1+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…