cve.bz

CVE-2026-102272 pyjwt project pyjwt

7.4 highExploit referenceEPSS 0.2%Fix available

High (7.4) in pyjwt project pyjwt. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pyjwt 2.14.0.

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

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-09-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-102272 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102272?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102272?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-102272 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:pyjwt2.13.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r6x4-923q-g947PyPIpyjwt>=2.13.0 <2.14.02.14.0
PYSEC-2026-4150PyPIpyjwt>=2.13.0 <2.14.02.14.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13pyjwtno fix listedDEBIAN-CVE-2026-102272
Debian14pyjwt2.14.0-1DEBIAN-CVE-2026-102272
Ubuntu22.04:LTSpyjwt2.3.0-1ubuntu0.5UBUNTU-CVE-2026-102272 USN-8916-1
Ubuntu24.04:LTSpyjwt2.7.0-1ubuntu0.3UBUNTU-CVE-2026-102272 USN-8916-1
Ubuntu26.04:LTSpyjwt2.10.1-4ubuntu1.2UBUNTU-CVE-2026-102272 USN-8916-1
Ubuntu26.10pyjwt2.13.0-1ubuntu1UBUNTU-CVE-2026-102272 USN-8916-2
UbuntuPro:16.04:LTSpyjwt1.3.0-1ubuntu0.1+esm3UBUNTU-CVE-2026-102272 USN-8916-1
UbuntuPro:18.04:LTSpyjwt1.5.3+ds1-1ubuntu0.1+esm3UBUNTU-CVE-2026-102272 USN-8916-1
UbuntuPro:20.04:LTSpyjwt1.7.1-2ubuntu2.1+esm3UBUNTU-CVE-2026-102272 USN-8916-1
Red Hatansible_automation_platform:2.6::el9automation-gateway-server0:2.6.20261019-1.el9apRHSA-2026:87004
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.15-1.el9apRHSA-2026:87004
Red Hatansible_automation_platform:2.6::el9python3.12-pulpcore0:3.49.71-1.el9apRHSA-2026:87004
Red Hatansible_automation_platform:2.6::el9python3.12-pyjwt, python3.12-pyjwt+crypto0:2.14.0-1.el9apRHSA-2026:87004
Red Hatenterprise_linux:9::appstreamfence-virt, fence-virtd, fence-agents and 66 more0:4.10.0-110.el9_8.8RHSA-2026:94500
Red Hatenterprise_linux:9::appstreamfence-virt, fence-virtd, fence-agents and 66 more0:4.10.0-122.el9_9.1RHSA-2026:98503
Red Hatenterprise_linux:10.2fence-virt, fence-virtd, fence-agents and 65 more0:4.16.0-21.el10_2.7RHSA-2026:94501
Red Hatenterprise_linux:10.3fence-virt, fence-virtd, fence-agents and 65 more0:4.16.0-34.el10_3.1RHSA-2026:98612
Red Hatenterprise_linux_eus:10.0fence-virt, fence-virtd, fence-agents and 65 more0:4.16.0-5.el10_0.14RHSA-2026:95012
Red Hatrhel_e4s:9.2::appstreamfence-virt, fence-virtd, fence-agents and 23 more0:4.10.0-43.el9_2.27RHSA-2026:94634
Red Hatrhel_e4s:9.2::highavailabilityfence-agents-all, fence-agents-apc, fence-agents-aws and 52 more0:4.10.0-43.el9_2.27RHSA-2026:94634
Red Hatrhel_e4s:9.2::resilientstoragefence-agents-all, fence-agents-apc, fence-agents-aws and 51 more0:4.10.0-43.el9_2.27RHSA-2026:94634
84 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedpython-PyJWT2.15.1-1.1openSUSE-SU-2026:11994-1
AlmaLinux9fence-virt, fence-agents-all, fence-agents-apc and 34 more4.10.0-110.el9_8.8ALSA-2026:94500
AlmaLinux10fence-agents-apc, fence-agents-eps, fence-agents-rsa and 33 more4.16.0-21.el10_2.7ALSA-2026:94501
Rocky Linux9fence-agents0:4.10.0-110.el9_8.8RLSA-2026:94500
Rocky Linux9fence-virt, fence-virtd, fence-virtd-cpg and 65 more0:4.10.0-122.el9_9.1RLSA-2026:98503
Rocky Linux10fence-agents0:4.16.0-21.el10_2.7RLSA-2026:94501
Rocky Linux10fence-virt, fence-virtd, fence-virtd-cpg and 64 more0:4.16.0-34.el10_3.1RLSA-2026:98612
Azure Linux3python-jwt2.15.1-1AZL-105224
Alpaquita25, streampy3-jwt2.15.1-r0BELL-CVE-2026-102272

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 · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity because successful exploitation permits an unauthenticated remote attacker to bypass authentication and forge valid tokens, though exploitation requires specific mixed-algorithm verification settings. In Red Hat environments, exposure is restricted to services that simultaneously allow both symmetric HMAC and asymmetric signature algorithms while parsing public keys that contain byte order marks. Workloads and services that enforce single-algorithm verification policies or utilize standard asymmetric key validation routines are not susceptible to this attack.

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.6 for RHEL 9python3.12-pyjwt-0:2.14.0-1.el9apFixed 2026-10-21RHSA-2026:87004
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-21.el10_2.7Fixed 2026-11-03RHSA-2026:94501
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-34.el10_3.1Fixed 2026-11-11RHSA-2026:98612
Red Hat Enterprise Linux 10.0 Extended Update Supportfence-agents-0:4.16.0-5.el10_0.14Fixed 2026-11-04RHSA-2026:95012
Red Hat Enterprise Linux 9fence-agents-0:4.10.0-110.el9_8.8Fixed 2026-11-03RHSA-2026:94500
Red Hat Enterprise Linux 9fence-agents-0:4.10.0-122.el9_9.1Fixed 2026-11-11RHSA-2026:98503
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsfence-agents-0:4.10.0-43.el9_2.27Fixed 2026-11-03RHSA-2026:94634
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsfence-agents-0:4.10.0-62.el9_4.31Fixed 2026-11-03RHSA-2026:94557
Red Hat Enterprise Linux 9.6 Extended Update Supportfence-agents-0:4.10.0-86.el9_6.23Fixed 2026-11-03RHSA-2026:94523
Red Hat Satellite 6.16 for RHEL 8python-pyjwt-0:2.15.1-1.el8pcFixed 2026-11-12RHSA-2026:99949
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel9-operatorAffected
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Not affected
133 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-102272.

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.

References

Check your stackJSON