CVE-2026-102273 json
PyJWT accepts public JWK containers as HMAC secrets
published 2026-09-28 41 d ago modified 2026-10-06 33 d ago also GHSA-w2cx-738m-mc7w , PYSEC-2026-4151 , EUVD-2026-88541
- 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 6%
- public exploits
- 0
- none known
Summary
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because HMAC key guard only recognizes top-level public JWK forms and misses container representations. This occurs when an application allows HMAC and asymmetric algorithms and passes a public JWK container as the raw key. As a result, public asymmetric key material is accepted as the HMAC secret. Consequently, an attacker who knows the public key can forge a token with arbitrary authenticated claims. This issue is fixed in version 2.14.0.
Patch / fix
- pypi pyjwt 2.14.0
- pyjwt Debian 14 2.14.0-1
debian advisories DEBIAN-CVE-2026-102273
- 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-102273
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-jwt Azure Linux 3.0 2.15.1-1
azure linux advisories AZL-105227
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
Vendor 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-102273 updated cvss 7.4
pyjwt: pyjwt: Token forgery via acceptance of public JWK containers as HMAC secrets
-
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 OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed/lightspeed-agentic-sandbox-rhel9affected: workaround, no fix available
-
Red Hat AI Inference Server rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-25/gateway-rhel8, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9, ansible-automation-platform-25/controller-rhel8, +5 more Red Hat Ceph Storage 7 rhceph/rhceph-7-rhel9affected: workaround, no fix available
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-model-registry-job-async-upload-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, +12 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
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.4 rhaii/vllm-cpu-rhel9 1791857301, rhaii/vllm-cuda-rhel9 1791857183, rhaii/vllm-rocm-rhel9 1791856725, rhaii/vllm-spyre-rhel9 1791858592fixed: vendor fix RHSA-2026:83112
-
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/mcp-tools-rhel9 1791941340, ansible-automation-platform-26/lightspeed-rhel9 1791898403, ansible-automation-platform-26/ee-supported-rhel9 1791974220, ansible-automation-platform-26/lightspeed-chatbot-rhel9 1791978798, ansible-automation-platform-tech-preview/metrics-service-rhel9 1791944819fixed: vendor fix RHSA-2026:87120
show 12 moreshow fewer
-
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/mcp-tools-rhel9 1790931895, ansible-automation-platform-27/lightspeed-rhel9 1792141386, ansible-automation-platform-27/ee-supported-rhel9 1791258340, ansible-automation-platform-27/metrics-service-rhel9 1792387216, ansible-automation-platform-27/lightspeed-chatbot-rhel9 1791250620fixed: vendor fix RHSA-2026:79378
-
Red Hat Enterprise Linux AI 3.4 rhelai3/bootc-cuda-rhel9 1792612985, rhelai3/bootc-rocm-rhel9 1792612921, rhelai3/bootc-aws-cuda-rhel9 1792680701, rhelai3/bootc-gcp-cuda-rhel9 1792680694, rhelai3/disk-image-cuda-rhel9 1792701796, rhelai3/bootc-azure-cuda-rhel9 1792680694, +1 morefixed: vendor fix RHSA-2026:90440
-
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
-
Red Hat OpenShift AI 3.4 rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 1791785804fixed: vendor fix RHSA-2026:84734
-
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-to-dataverse-exporter-rhel9 Red Hat AI Inference Server rhaii/vllm-tpu-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-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, +10 more Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/hub-rhel9 1791947385, ansible-automation-platform-26/gateway-rhel9 1791971533, ansible-automation-platform-26/hub-web-rhel9 1791952205, ansible-automation-platform-26/receptor-rhel9 1791968536, ansible-automation-platform-26/controller-rhel9 1791947602, ansible-automation-platform-26/de-minimal-rhel9 1791961810, +20 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
+8 more productsfewer
Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/hub-rhel9 1791254555, ansible-automation-platform-27/hub-rhel9 1792388670, ansible-automation-platform-27/gateway-rhel9 1791257377, ansible-automation-platform-27/gateway-rhel9 1792429216, ansible-automation-platform-27/hub-web-rhel9 1791264503, ansible-automation-platform-27/hub-web-rhel9 1792394496, +55 more Red Hat Ceph Storage 4 python2-jwt, rhceph/rhceph-4-rhel8 Red Hat Ceph Storage 9 rhceph/rhceph-9-rhel9 Red Hat Enterprise Linux 8 python-jwt, python3-jwt, rhel8/support-tools Red Hat Enterprise Linux 9 fence-virt, fence-virtd, fence-agents, fence-virtd-cpg, fence-virtd-tcp, fence-agents-all, +51 more Red Hat Enterprise Linux 10 fence-agents-common Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-gaudi-rhel9 Red Hat Enterprise Linux command line assistant rhel-cla/rhel-knowledge-bridge-rhel10 -
Red Hat Hardened Images rust 1.98.1-1.hum1, llvm21 21.1.8-10.hum1, jaeger 2.20.0-0.11.hum1, swift-lang 6.4.0-0.5.hum1not affected: component not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-storage-initializer-rhel9not affected: vulnerable code not present
11 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
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 40 d ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
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 |
| OSV | 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 |
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/801cd128528c62d9b23fcd161d1a2e1c17982f95
web, patch
-
github.com
/jpadilla/pyjwt/security/advisories/GHSA-w2cx-738m-mc7w
web, vendor-advisory
-
github.com
/jpadilla/pyjwt/releases/tag/2.14.0
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-102273
advisory
-
github.com
/jpadilla/pyjwt
package
-
pypi.org
/project/pyjwt
package
-
github.com
/advisories/GHSA-w2cx-738m-mc7w
advisory
Sources
- CVE List CVE-2026-102273
- GitHub Advisory GHSA-w2cx-738m-mc7w
- NVD CVE-2026-102273
- OSV PYSEC-2026-4151
Fencer Vulns 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.