cve.bz

CVE-2026-32597 pyjwt project pyjwt: Incorrect Authorization

7.5 highExploit referenceEPSS 0.3%Fix available

High (7.5) in pyjwt project pyjwt. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in pyjwt 2.12.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-345 Insufficient Verification of Data Authenticity
CWE-863 Incorrect Authorization
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A01:2025 Broken Access Control, A04:2025 Cryptographic Failures, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-32597 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-32597?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-32597?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-32597 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pyjwt_project:pyjwtbefore 2.12.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-752w-5fwx-jx9fPyPIpyjwt<2.12.02.12.0
PYSEC-2026-120PyPIpyjwt<2.12.02.12.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11pyjwt1.7.1-2+deb11u1DLA-4564-1
Debian12pyjwt2.6.0-1+deb12u1DEBIAN-CVE-2026-32597 DSA-6259-1
Debian13pyjwt2.10.1-2+deb13u1DEBIAN-CVE-2026-32597 DSA-6259-1
Debian14pyjwt2.12.1-1DEBIAN-CVE-2026-32597
Ubuntu22.04:LTSpyjwt2.3.0-1ubuntu0.3UBUNTU-CVE-2026-32597
Ubuntu24.04:LTSpyjwt2.7.0-1ubuntu0.1UBUNTU-CVE-2026-32597
Ubuntu25.10pyjwt2.10.1-2ubuntu0.1UBUNTU-CVE-2026-32597
UbuntuPro:16.04:LTSpyjwt1.3.0-1ubuntu0.1+esm1UBUNTU-CVE-2026-32597
UbuntuPro:18.04:LTSpyjwt1.5.3+ds1-1ubuntu0.1+esm1UBUNTU-CVE-2026-32597
UbuntuPro:20.04:LTSpyjwt1.7.1-2ubuntu2.1+esm1UBUNTU-CVE-2026-32597
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.28-3.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-5.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-jwcrypto0:1.5.7-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-markdown0:3.10.2-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyOpenSSL0:26.0.0-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.3-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyjwt, python3.12-pyjwt+crypto0:2.12.1-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.4-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.28-3.el9apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.14-2.el9RHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el9apRHSA-2026:13512
38 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-PyJWT2.4.0-150200.3.11.1SUSE-SU-2026:1400-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-PyJWT2.8.0-150400.8.10.1SUSE-SU-2026:1389-1
SUSELinux Enterprise Module for Public Cloud 12python-PyJWT1.5.3-3.19.1SUSE-SU-2026:1199-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-PyJWT2.12.1-160000.1.1SUSE-SU-2026:20934-1
SUSELinux Micro 6.0python-PyJWT2.9.0-2.1SUSE-SU-2026:20869-1
SUSELinux Micro 6.1python-PyJWT2.12.1-slfo.1.1_1.1SUSE-SU-2026:20879-1
SUSELinux Micro 6.2python-PyJWT2.12.1-160000.1.1SUSE-SU-2026:20839-1
openSUSELeap 15.6python-PyJWT2.8.0-150400.8.10.1SUSE-SU-2026:1389-1
openSUSELeap 16.0python-PyJWT2.12.1-160000.1.1openSUSE-SU-2026:20431-1
openSUSETumbleweedpython-PyJWT2.12.1-1.1openSUSE-SU-2026:10397-1
openSUSETumbleweedpython-social-auth-core4.8.7-1.1openSUSE-SU-2026:10681-1
AlmaLinux8fence-agents-all, fence-agents-apc, fence-agents-aws and 45 more4.2.1-129.el8_10.25ALSA-2026:12176
AlmaLinux8python3-jwt1.6.1-2.el8_10.1ALSA-2026:93440
AlmaLinux10fence-agents-apc, fence-agents-eps, fence-agents-rsa and 33 more4.16.0-13.el10_1.4ALSA-2026:13916
Rocky Linux8fence-agents0:4.2.1-129.el8_10.25RLSA-2026:12176
Rocky Linux8python-jwt0:1.6.1-2.el8_10.1RLSA-2026:93440
Rocky Linux9fence-agents0:4.10.0-110.el9_8.2RLSA-2026:19355
Rocky Linux9fence-agents0:4.10.0-98.el9_7.12RLSA-2026:13672
Rocky Linux10fence-agents0:4.16.0-13.el10_1.4RLSA-2026:13916
Rocky Linux10fence-agents0:4.16.0-21.el10_2.1RLSA-2026:19138
Azure Linux3python-jwt2.13.0-1AZL-93030
Alpaquita25, streampy3-jwt2.10.1-r1BELL-CVE-2026-32597

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT severity flaw was found in PyJWT, a Python JSON Web Token (JWT) library shipped in a broad set of Red Hat products, including Red Hat Ansible Automation Platform, Red Hat Enterprise Linux, Red Hat OpenShift AI and Red Hat AI Inference Server components, and Red Hat Quay. PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 section 4.1.11: when a JSON Web Signature (JWS) token contains a crit array listing header extensions that PyJWT does not understand, the library accepts the token instead of rejecting it, violating a MUST requirement of the RFC. As a result, a remote attacker who can submit crafted tokens to an application that relies on PyJWT for JWT verification can have tokens carrying unrecognized critical header extensions accepted, undermining the integrity of the token validation the application depends on. Red Hat has rated this flaw as IMPORTANT with a CVSS 3.1 score of 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N), consistent with the upstream severity. Affected Red Hat product streams are tracked with a delegated resolution, and fixes are being pursued by the responsible product teams.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-controller-0:4.6.28-3.el8apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-pyjwt-0:2.12.1-1.el8apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-controller-0:4.6.28-3.el9apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-pyjwt-0:2.12.1-1.el9apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.11-2.el9apFixed 2026-05-04RHSA-2026:13508
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-pyjwt-0:2.12.1-1.el9apFixed 2026-05-04RHSA-2026:13508
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-13.el10_1.4Fixed 2026-05-06RHSA-2026:13916
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-21.el10_2.1Fixed 2026-05-19RHSA-2026:19138
Red Hat Enterprise Linux 10.0 Extended Update Supportfence-agents-0:4.16.0-5.el10_0.9Fixed 2026-05-13RHSA-2026:17083
Red Hat Enterprise Linux 8fence-agents-0:4.2.1-129.el8_10.25Fixed 2026-04-30RHSA-2026:12176
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Will not fix
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Affected
Red Hat AI Inference Serverrhaiis-preview/vllm-cuda-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/platform-resource-runner-rhel8Not affected
92 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-32597.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON