Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 81%

CVE-2026-32597: CWE-345: Insufficient Verification of Data Authenticity in jpadilla pyjwt

0
High
VulnerabilityCVE-2026-32597cvecve-2026-32597cwe-345cwe-863
Published: 03/12/2026 (03/12/2026, 21:41:50 UTC)
Source: CVE Database V5
Vendor/Project: jpadilla
Product: pyjwt

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

pyjwt
pkg:pypi/pyjwt
Affected versions
<2.12.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 21:53:41 UTC

Technical Analysis

CVE-2026-32597 is a vulnerability in the PyJWT Python library where versions before 2.12.0 fail to properly validate the 'crit' header parameter in JSON Web Signature tokens. According to RFC 7515 §4.1.11, if a JWS token contains a 'crit' array listing extensions that the implementation does not understand, the token must be rejected. PyJWT prior to 2.12.0 accepts such tokens, violating this MUST requirement. This insufficient verification of data authenticity can lead to acceptance of tokens with unrecognized critical extensions, potentially undermining the integrity of token validation. The issue is addressed in PyJWT 2.12.0. Red Hat advisories confirm the vulnerability and provide patches in their Ansible Automation Platform packages that include updated PyJWT versions.

Potential Impact

The vulnerability allows PyJWT to accept JWS tokens containing unknown critical header extensions without rejection, violating the RFC's mandatory validation requirements. This can lead to improper token validation, potentially allowing attackers to bypass intended security controls that rely on token authenticity and integrity. The CVSS score of 7.5 (High) reflects the significant impact on integrity without requiring privileges or user interaction.

Mitigation Recommendations

A fix is available in PyJWT version 2.12.0, which properly validates the 'crit' header parameter as per RFC 7515 §4.1.11. Users should upgrade to PyJWT 2.12.0 or later to remediate this vulnerability. Red Hat has issued security advisories and updates for their Ansible Automation Platform 2.5 packages that include this fix. Applying these vendor-provided updates is recommended to ensure the vulnerability is addressed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-12T14:54:24.269Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-32597","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13512","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13508","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17083","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13916","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19138","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:12176","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22330","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21517","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21431","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13672","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19355","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8748","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8746","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8747","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13553","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13545","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10140","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10141","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6720","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6568","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6912","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6926","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26226","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8437","vendor":"Red Hat"}]

Threat ID: 69b3375b2f860ef943024596

Added to database: 03/12/2026, 21:59:55 UTC

Last enriched: 07/22/2026, 21:53:41 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 393

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses