Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
jpadilla pyjwt < 2.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pyjwt 2.12.1-1 —
Debian 13 pyjwt 2.10.1-2+deb13u1 —
Debian 12 pyjwt 2.6.0-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 pyjwt 2.10.1-2ubuntu0.1 —
Ubuntu 24.04 LTS pyjwt 2.7.0-1ubuntu0.1 —
Ubuntu 22.04 LTS pyjwt 2.3.0-1ubuntu0.3 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS pyjwt 1.7.1-2ubuntu2.1+esm1 —
Ubuntu Pro 18.04 LTS pyjwt 1.5.3+ds1-1ubuntu0.1+esm1 —
Ubuntu Pro 16.04 LTS pyjwt 1.3.0-1ubuntu0.1+esm1 —
ReleasePackageFixed inAdvisory
RHEL 10 fence-virt +55 4.16.0-13.el10_1.4 RHSA-2026:19138, RHSA-2026:13916
RHEL 9 fence-virt +56 4.10.0-98.el9_7.12 RHSA-2026:19355, RHSA-2026:13672
RHEL 8 fence-agents +48 4.2.1-129.el8_10.25 RHSA-2026:12176
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS fence-virt +55 4.16.0-5.el10_0.9 RHSA-2026:17083
RHEL 9.6 EUS fence-virt +56 4.10.0-86.el9_6.16 RHSA-2026:21431
RHEL 9.4 EUS fence-virt +56 4.10.0-62.el9_4.24 RHSA-2026:21517
RHEL 9.2 E4S fence-virt +56 4.10.0-43.el9_2.21 RHSA-2026:22330
Red Hat Ansible Automation Platform Inside 2 receptor 1.6.4-2.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform Inside 2 receptorctl 1.6.4-2.el9ap RHSA-2026:13508
Red Hat Ansible Automation Platform Developer 2 automation-controller +1 4.7.11-2.el9ap RHSA-2026:13508
Red Hat Ansible Automation Platform Developer 2 receptor 1.6.4-2.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform Developer 2 receptorctl 1.6.4-2.el9ap RHSA-2026:13508
Red Hat Ansible Automation Platform 2 automation-controller +3 4.7.11-2.el9ap RHSA-2026:13508
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.6.28-3.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 automation-gateway-proxy +1 2.5.10-5.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 automation-gateway-server +11 2.5.20260422-2.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.8-1.el9ap RHSA-2026:13508
Red Hat Ansible Automation Platform 2 python3.12-django-ansible-base+resource_registry 2.6.20260422-1.el9ap RHSA-2026:13508
Red Hat Ansible Automation Platform 2 python3.12-jwcrypto 1.5.7-1.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 python3.12-markdown 3.10.2-1.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 python3.12-pyOpenSSL 26.0.0-1.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 python3.12-pyasn1 0.6.3-1.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 python3.12-pyjwt +1 2.12.1-1.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 receptor 1.6.4-2.el8ap RHSA-2026:13512, RHSA-2026:13508
Red Hat Ansible Automation Platform 2 receptorctl 1.6.4-2.el9ap RHSA-2026:13508

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 fence-agents-apc +35 4.16.0-13.el10_1.4 ALSA-2026:13916
AlmaLinux 8 fence-agents-all +47 4.2.1-129.el8_10.25 ALSA-2026:12176
AlmaLinux 8 python3-jwt 1.6.1-2.el8_10.1 ALSA-2026:93440

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 fence-agents 4.16.0-13.el10_1.4 RLSA-2026:19138, RLSA-2026:13916
Rocky Linux 9 fence-agents 4.10.0-98.el9_7.12 RLSA-2026:19355, RLSA-2026:13672
Rocky Linux 8 fence-agents 4.2.1-129.el8_10.25 RLSA-2026:12176
Rocky Linux 8 python-jwt 1.6.1-2.el8_10.1 RLSA-2026:93440
ReleasePackageFixed inAdvisory
SLES 15 SP7 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1
SLES 15 SP6 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLES 15 SP5 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLES 15 SP4 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLES 12 python-PyJWT 1.5.3-3.19.1 SUSE-SU-2026:1199-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 python-PyJWT 2.8.0-150400.8.10.1 SUSE-SU-2026:1389-1
SLES for SAP 16.0 python-PyJWT 2.12.1-160000.1.1 SUSE-SU-2026:20934-1
SLES for SAP 15 SP6 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLES for SAP 15 SP5 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLES for SAP 15 SP4 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLES 16.0 python-PyJWT 2.12.1-160000.1.1 SUSE-SU-2026:20934-1
SLE Micro 6.2 python-PyJWT 2.12.1-160000.1.1 SUSE-SU-2026:20839-1
SLE Micro 6.1 python-PyJWT 2.12.1-slfo.1.1_1.1 SUSE-SU-2026:20879-1
SLE Micro 6.0 python-PyJWT 2.9.0-2.1 SUSE-SU-2026:20869-1
SLE Micro 5.5 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1
SLE HPC 15 SP5 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
SLE HPC 15 SP4 python-PyJWT 2.4.0-150200.3.11.1 SUSE-SU-2026:1400-1, SUSE-SU-2026:1389-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-PyJWT 2.12.1-1.1 openSUSE-SU-2026:10397-1
openSUSE Tumbleweed python-social-auth-core 4.8.7-1.1 openSUSE-SU-2026:10681-1
openSUSE Leap 16.0 python-PyJWT 2.12.1-160000.1.1 openSUSE-SU-2026:20431-1
openSUSE Leap 15.6 python-PyJWT 2.8.0-150400.8.10.1 SUSE-SU-2026:1389-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-jwt +1 2.4.0-1.amzn2023.0.3 ALAS2023-2026-1519

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-jwt 2.13.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 fence-virt +52 4.16.0-13.el10_1.4 ELSA-2026-19138, ELSA-2026-13916
Oracle Linux 9 fence-virt +54 4.10.0-98.el9_7.12 ELSA-2026-19355, ELSA-2026-13672
Oracle Linux 8 fence-agents-all +41 4.2.1-129.el8_10.25 ELSA-2026-12176
Oracle Linux 8 python3-jwt 1.6.1-2.el8_10.1 ELSA-2026-93440

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.1.8-r8 —
Wolfi rolling az 2.84.0-r3 —
Wolfi rolling datadog-agent-7.72-core-integrations No fix yet —
Wolfi rolling datadog-agent-7.73-core-integrations 7.73.3-r23 —
Wolfi rolling ggshield 1.49.0-r1 —
Wolfi rolling kserve-storage-controller 0.16.0-r22 —
Wolfi rolling open-webui 0.8.10-r1 —
Wolfi rolling py3-cassandra-medusa 0.27.0-r5 —
Wolfi rolling py3-semgrep 1.156.0-r0 —
Wolfi rolling superset-6.0 6.0.0-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pyjwt < 2.12.0 2.12.0 GHSA-752w-5fwx-jx9f

Advisories 40

References