CVE-2026-102272 json
PyJWT BOM Bypass
published last mo. modified last mo. also EUVD-2026-88540 , GHSA-r6x4-923q-g947 , PYSEC-2026-4150
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.prepare_key in jwt/algorithms.py is affected because raw-JWK detector does not normalize accepted Unicode byte-order marks before checking for JSON. This occurs when a public JWK is prefixed with a UTF-8 BOM and used in a mixed-algorithm verification path. As a result, public JWK bypasses asymmetric-key detection and becomes the HMAC secret. Consequently, an attacker who knows the public key can forge authenticated tokens. This issue is fixed in version 2.14.0.
Patch / fix
- pypi pyjwt 2.14.0
- pyjwt_project pyjwt 2.14.0
- pyjwt Debian 14 2.14.0-1
debian advisories DEBIAN-CVE-2026-102272
- pyjwt Ubuntu 22.04 LTS 2.3.0-1ubuntu0.5
- pyjwt Ubuntu 24.04 LTS 2.7.0-1ubuntu0.3
- pyjwt Ubuntu 26.10 2.13.0-1ubuntu1
- pyjwt Ubuntu 26.04 LTS 2.10.1-4ubuntu1.2
- pyjwt Ubuntu Pro 16.04 LTS 1.3.0-1ubuntu0.1+esm3
- pyjwt Ubuntu Pro 18.04 LTS 1.5.3+ds1-1ubuntu0.1+esm3
- pyjwt Ubuntu Pro 20.04 LTS 1.7.1-2ubuntu2.1+esm3
ubuntu advisories UBUNTU-CVE-2026-102272
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-PyJWT openSUSE Tumbleweed 2.15.1-1.1
opensuse advisories openSUSE-SU-2026:11994-1
- fence-virt AlmaLinux 9 4.10.0-110.el9_8.8
- fence-agents-all AlmaLinux 9 4.10.0-110.el9_8.8
- fence-agents-apc AlmaLinux 9 4.10.0-110.el9_8.8
- fence-agents-aws AlmaLinux 9 4.10.0-110.el9_8.8
- fence-agents-gce AlmaLinux 9 4.10.0-110.el9_8.8
- fence-agents-rsa AlmaLinux 9 4.10.0-110.el9_8.8
- ha-cloud-support AlmaLinux 9 4.10.0-110.el9_8.8
- fence-agents-lpar AlmaLinux 9 4.10.0-110.el9_8.8
almalinux advisories ALSA-2026:94500ALSA-2026:94501
- fence-agents Rocky Linux 10 4.16.0-21.el10_2.7
- fence-agents Rocky Linux 9 4.10.0-110.el9_8.8
rocky linux advisories RLSA-2026:94501RLSA-2026:94500
- python-jwt Azure Linux 3.0 2.15.1-1
azure linux advisories AZL-105224
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2026-102272 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-102272 updated cvss 7.4
pyjwt: pyjwt: Token forgery via improper Unicode byte-order mark handling
-
Red Hat Ansible Automation Orchestrator 2026 ansible-automation-platform/automation-orchestrator-backend-rhel9 Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel9-operator Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-26/mcp-tools-rhel9, ansible-automation-platform-27/mcp-tools-rhel9, ansible-automation-platform-27/ee-supported-rhel9, ansible-automation-platform-26/eda-controller-rhel9, +2 moreaffected: workaround, no fix available
-
Red Hat Ceph Storage 4 python2-jwt Red Hat Ceph Storage 7 rhceph/rhceph-7-rhel9 Red Hat Ceph Storage 9 rhceph/rhceph-9-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-ogx-core-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-th-torch-cuda-py312-rhel9, rhoai/odh-kserve-autogluon-server-rhel9, +17 more Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Satellite 6 python-pyjwt, python3-pyjwt, python3.12-pyjwt Red Hat Update Infrastructure 5 rhui5/rhua-rhel9affected: workaround, no fix available
-
Red Hat AI Inference Server 3.5 rhaii/vllm-cpu-rhel9 1791473614, rhaii/vllm-cuda-rhel9 1791473631, rhaii/vllm-rocm-rhel9 1791425869, rhaii/vllm-gaudi-rhel9 1791427182, rhaii/vllm-spyre-rhel9 1791818357fixed: vendor fix RHSA-2026:82415
-
Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/gateway-rhel9 1791971533, ansible-automation-platform-26/lightspeed-rhel9 1791898403, ansible-automation-platform-26/ee-supported-rhel9 1791974220, ansible-automation-platform-tech-preview/metrics-service-rhel9 1791944819fixed: vendor fix RHSA-2026:87120
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 python3.12-pyjwt 2.14.0-1.el9ap, python3.12-pyjwt+crypto 2.14.0-1.el9apfixed: vendor fix RHSA-2026:87004
-
Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/gateway-rhel9 1792429216, ansible-automation-platform-27/lightspeed-rhel9 1792141386, ansible-automation-platform-27/metrics-service-rhel9 1792387216, ansible-automation-platform-27/lightspeed-chatbot-rhel9 1792385971fixed: vendor fix RHSA-2026:87124
-
Red Hat Enterprise Linux AI 3.5 rhelai3/bootc-cuda-rhel9 1793135861, rhelai3/bootc-rocm-rhel9 1793135863, rhelai3/bootc-aws-cuda-rhel9 1793194817, rhelai3/bootc-gcp-cuda-rhel9 1793194815, rhelai3/disk-image-cuda-rhel9 1793206758, rhelai3/bootc-azure-cuda-rhel9 1793194815, +1 morefixed: vendor fix RHSA-2026:92452
show 16 moreshow fewer
-
Red Hat Enterprise Linux AppStream (v. 9) fence-virt 4.10.0-110.el9_8.8, fence-virtd 4.10.0-110.el9_8.8, fence-agents 4.10.0-110.el9_8.8, fence-virtd-cpg 4.10.0-110.el9_8.8, fence-virtd-tcp 4.10.0-110.el9_8.8, fence-agents-all 4.10.0-110.el9_8.8, +51 morefixed: vendor fix RHSA-2026:94500
-
Red Hat Enterprise Linux AppStream (v. 10) fence-virt 4.16.0-21.el10_2.7, fence-virtd 4.16.0-21.el10_2.7, fence-agents 4.16.0-21.el10_2.7, fence-virtd-cpg 4.16.0-21.el10_2.7, fence-virtd-tcp 4.16.0-21.el10_2.7, fence-agents-all 4.16.0-21.el10_2.7, +50 morefixed: vendor fix RHSA-2026:94501
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) fence-virt 4.10.0-43.el9_2.27, fence-virtd 4.10.0-43.el9_2.27, fence-agents 4.10.0-43.el9_2.27, fence-virtd-cpg 4.10.0-43.el9_2.27, fence-virtd-tcp 4.10.0-43.el9_2.27, fence-agents-virsh 4.10.0-43.el9_2.27, +8 morefixed: vendor fix RHSA-2026:94634
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) fence-virt 4.10.0-62.el9_4.31, fence-virtd 4.10.0-62.el9_4.31, fence-agents 4.10.0-62.el9_4.31, fence-virtd-cpg 4.10.0-62.el9_4.31, fence-virtd-tcp 4.10.0-62.el9_4.31, fence-agents-virsh 4.10.0-62.el9_4.31, +8 morefixed: vendor fix RHSA-2026:94557
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) fence-virt 4.16.0-5.el10_0.14, fence-virtd 4.16.0-5.el10_0.14, fence-agents 4.16.0-5.el10_0.14, fence-virtd-cpg 4.16.0-5.el10_0.14, fence-virtd-tcp 4.16.0-5.el10_0.14, fence-agents-all 4.16.0-5.el10_0.14, +50 morefixed: vendor fix RHSA-2026:95012
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) fence-virt 4.10.0-86.el9_6.23, fence-virtd 4.10.0-86.el9_6.23, fence-agents 4.10.0-86.el9_6.23, fence-virtd-cpg 4.10.0-86.el9_6.23, fence-virtd-tcp 4.10.0-86.el9_6.23, fence-agents-all 4.10.0-86.el9_6.23, +51 morefixed: vendor fix RHSA-2026:94523
-
Red Hat Enterprise Linux High Availability E4S (v.9.2) fence-agents-all 4.10.0-43.el9_2.27, fence-agents-apc 4.10.0-43.el9_2.27, fence-agents-aws 4.10.0-43.el9_2.27, fence-agents-eps 4.10.0-43.el9_2.27, fence-agents-gce 4.10.0-43.el9_2.27, fence-agents-rsa 4.10.0-43.el9_2.27, +37 morefixed: vendor fix RHSA-2026:94634
-
Red Hat Enterprise Linux High Availability E4S (v.9.4) fence-agents-all 4.10.0-62.el9_4.31, fence-agents-apc 4.10.0-62.el9_4.31, fence-agents-aws 4.10.0-62.el9_4.31, fence-agents-eps 4.10.0-62.el9_4.31, fence-agents-gce 4.10.0-62.el9_4.31, fence-agents-rsa 4.10.0-62.el9_4.31, +37 morefixed: vendor fix RHSA-2026:94557
-
Red Hat Enterprise Linux Resilient Storage E4S (v.9.2) fence-agents-all 4.10.0-43.el9_2.27, fence-agents-apc 4.10.0-43.el9_2.27, fence-agents-aws 4.10.0-43.el9_2.27, fence-agents-eps 4.10.0-43.el9_2.27, fence-agents-gce 4.10.0-43.el9_2.27, fence-agents-rsa 4.10.0-43.el9_2.27, +36 morefixed: vendor fix RHSA-2026:94634
-
Red Hat Enterprise Linux Resilient Storage E4S (v.9.4) fence-agents-all 4.10.0-62.el9_4.31, fence-agents-apc 4.10.0-62.el9_4.31, fence-agents-aws 4.10.0-62.el9_4.31, fence-agents-eps 4.10.0-62.el9_4.31, fence-agents-gce 4.10.0-62.el9_4.31, fence-agents-rsa 4.10.0-62.el9_4.31, +36 morefixed: vendor fix RHSA-2026:94557
-
Red Hat OpenShift AI 3.4 rhoai/odh-kserve-agent-rhel9 1792685313, rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 1792798552fixed: vendor fix RHSA-2026:92510
-
Red Hat Satellite 6.18 satellite/foreman-mcp-server-rhel9 1793272276fixed: vendor fix RHSA-2026:92667
-
Red Hat Satellite 6.19 satellite/foreman-mcp-server-rhel9 1793272279fixed: vendor fix RHSA-2026:92666
-
Red Hat Trusted Artifact Signer 1.5 rhtas/rh-sigstore-a2a-rhel9 1793624122, rhtas/model-transparency-rhel9 1793696578fixed: vendor fix RHSA-2026:95261
-
Red Hat Confidential Compute Attestation openshift-sandboxed-containers/osc-podvm-builder-rhel9not affected: vulnerable code not in execute path
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed/lightspeed-agentic-sandbox-rhel9, openshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9 Red Hat AI Inference Server rhaii/vllm-tpu-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9, rhaii/vllm-neuron-rhel9 Red Hat Ansible Automation Platform 2 python-pyjwt, python3x-pyjwt, python3.11-pyjwt, automation-controller, ansible-automation-platform-24/hub-rhel8, ansible-automation-platform-25/hub-rhel8, +15 more Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/hub-rhel9 1791947385, ansible-automation-platform-26/hub-web-rhel9 1791952205, ansible-automation-platform-26/receptor-rhel9 1791968536, ansible-automation-platform-26/mcp-tools-rhel9 1791941340, ansible-automation-platform-26/controller-rhel9 1791947602, ansible-automation-platform-26/de-minimal-rhel9 1791961810, +21 more Red Hat Ansible Automation Platform 2.6 for RHEL 9 receptor 1.6.9-1.el9ap, molecule 26.10.0-1.el9ap, receptorctl 1.6.9-1.el9ap, ansible-lint 26.10.1-1.el9ap, ansible-rulebook 1.2.3-1.el9ap, automation-hub 4.11.15-1.el9ap, +50 more Red Hat Ansible Automation Platform 2.6 for RHEL 10 receptor 1.6.9-1.el10ap, molecule 26.10.0-1.el10ap, python-cffi 2.0.0-2.el10ap, receptorctl 1.6.9-1.el10ap, python3-cffi 2.0.0-2.el10ap, ansible-lint 26.10.1-1.el10ap, +11 morenot affected: vulnerable code not present
+2 more productsfewer
Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/hub-rhel9 1792388670, ansible-automation-platform-27/hub-web-rhel9 1792394496, ansible-automation-platform-27/receptor-rhel9 1792139928, ansible-automation-platform-27/mcp-tools-rhel9 1792425046, ansible-automation-platform-27/controller-rhel9 1792389457, ansible-automation-platform-27/de-minimal-rhel9 1792141111, +23 more Red Hat Enterprise Linux 8 rhel8/support-tools
15 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/jpadilla/pyjwt/security/advisories/GHSA-r6x4-923q-g947 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pyjwt | >=2.13.0, <2.14.0 |
2.14.0 |
Affected products
- jpadilla pyjwt
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/jpadilla/pyjwt/commit/180783930de91876bc0d601f826a1f2956057291
web, patch
-
github.com
/jpadilla/pyjwt/security/advisories/GHSA-r6x4-923q-g947
exploit, web, mitigation, vendor-advisory
-
github.com
/jpadilla/pyjwt/releases/tag/2.14.0
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-102272
advisory
-
github.com
/jpadilla/pyjwt
package
-
pypi.org
/project/pyjwt
package
-
github.com
/advisories/GHSA-r6x4-923q-g947
advisory
Sources
- CVE List CVE-2026-102272
- GitHub Advisory GHSA-r6x4-923q-g947
- NVD CVE-2026-102272
- OSV PYSEC-2026-4150
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.