CVEfocus › CVE database › CVE-2026-102273

CVE-2026-102273PyJWT accepts public JWK containers as HMAC secrets

CVSS 7.4 HighEPSS 0.3% (higher than 13% of CVEs)Published 2026-09-28Updated 2026-09-29Assigner: GitHub_M

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.

CWE-347

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
4Fix pending
115Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10pyjwtFixed2.13.0-1ubuntu1UBUNTU-CVE-2026-102273
Ubuntu 26.04pyjwtFixed2.10.1-4ubuntu1.2UBUNTU-CVE-2026-102273
Ubuntu 24.04pyjwtFixed2.7.0-1ubuntu0.3UBUNTU-CVE-2026-102273
Ubuntu 22.04pyjwtFixed2.3.0-1ubuntu0.5UBUNTU-CVE-2026-102273
Ubuntu 20.04pyjwtFix pending1.7.1-2ubuntu2.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-102273
Ubuntu 18.04pyjwtFix pending1.5.3+ds1-1ubuntu0.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-102273
Ubuntu 16.04pyjwtFix pending1.3.0-1ubuntu0.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-102273
Debian 14pyjwtFixed2.14.0-1DEBIAN-CVE-2026-102273
Debian 13pyjwtFix pendingDEBIAN-CVE-2026-102273
Red Hat Enterprise Linux 10fence-agentsNot affected
Red Hat Enterprise Linux 10fence-agents-aliyunNot affected
Red Hat Enterprise Linux 10fence-agents-allNot affected
Red Hat Enterprise Linux 10fence-agents-amt-wsNot affected
Red Hat Enterprise Linux 10fence-agents-apcNot affected
Red Hat Enterprise Linux 10fence-agents-apc-snmpNot affected
Red Hat Enterprise Linux 10fence-agents-awsNot affected
Red Hat Enterprise Linux 10fence-agents-azure-armNot affected
Red Hat Enterprise Linux 10fence-agents-bladecenterNot affected
Red Hat Enterprise Linux 10fence-agents-brocadeNot affected
Red Hat Enterprise Linux 10fence-agents-cisco-mdsNot affected
Red Hat Enterprise Linux 10fence-agents-cisco-ucsNot affected
Red Hat Enterprise Linux 10fence-agents-commonNot affected
Red Hat Enterprise Linux 10fence-agents-drac5Not affected
Red Hat Enterprise Linux 10fence-agents-eaton-snmpNot affected
Red Hat Enterprise Linux 10fence-agents-emersonNot affected
Red Hat Enterprise Linux 10fence-agents-epsNot affected
Red Hat Enterprise Linux 10fence-agents-gceNot affected
Red Hat Enterprise Linux 10fence-agents-heuristics-pingNot affected
Red Hat Enterprise Linux 10fence-agents-hpbladeNot affected
Red Hat Enterprise Linux 10fence-agents-ibm-powervsNot affected
Red Hat Enterprise Linux 10fence-agents-ibm-vpcNot affected
Red Hat Enterprise Linux 10fence-agents-ibmbladeNot affected
Red Hat Enterprise Linux 10fence-agents-ifmibNot affected
Red Hat Enterprise Linux 10fence-agents-ilo-moonshotNot affected
Red Hat Enterprise Linux 10fence-agents-ilo-mpNot affected
Red Hat Enterprise Linux 10fence-agents-ilo-sshNot affected
Red Hat Enterprise Linux 10fence-agents-ilo2Not affected
Red Hat Enterprise Linux 10fence-agents-intelmodularNot affected
Red Hat Enterprise Linux 10fence-agents-ipduNot affected
Red Hat Enterprise Linux 10fence-agents-ipmilanNot affected
Red Hat Enterprise Linux 10fence-agents-kdumpNot affected
Red Hat Enterprise Linux 10fence-agents-kubevirtNot affected
Red Hat Enterprise Linux 10fence-agents-lparNot affected
Red Hat Enterprise Linux 10fence-agents-mpathNot affected
Red Hat Enterprise Linux 10fence-agents-nutanix-ahvNot affected
Red Hat Enterprise Linux 10fence-agents-openstackNot affected
Red Hat Enterprise Linux 10fence-agents-redfishNot affected
Red Hat Enterprise Linux 10fence-agents-rhevmNot affected
Red Hat Enterprise Linux 10fence-agents-rsaNot affected
Red Hat Enterprise Linux 10fence-agents-rsbNot affected
Red Hat Enterprise Linux 10fence-agents-sbdNot affected
Red Hat Enterprise Linux 10fence-agents-scsiNot affected
Red Hat Enterprise Linux 10fence-agents-virshNot affected
Red Hat Enterprise Linux 10fence-agents-vmware-restNot affected
Red Hat Enterprise Linux 10fence-agents-vmware-soapNot affected
Red Hat Enterprise Linux 10fence-agents-wtiNot affected
Red Hat Enterprise Linux 10fence-agents-zvmNot affected
Red Hat Enterprise Linux 10fence-virtNot affected
Red Hat Enterprise Linux 10fence-virtdNot affected
Red Hat Enterprise Linux 10fence-virtd-cpgNot affected
Red Hat Enterprise Linux 10fence-virtd-libvirtNot affected
Red Hat Enterprise Linux 10fence-virtd-multicastNot affected
Red Hat Enterprise Linux 10fence-virtd-serialNot affected
Red Hat Enterprise Linux 10fence-virtd-tcpNot affected
Red Hat Enterprise Linux 10ha-cloud-supportNot affected
Red Hat Enterprise Linux 9fence-agentsNot affected
Red Hat Enterprise Linux 9fence-agents-aliyunNot affected
Red Hat Enterprise Linux 9fence-agents-allNot affected
Red Hat Enterprise Linux 9fence-agents-amt-wsNot affected
Red Hat Enterprise Linux 9fence-agents-apcNot affected
Red Hat Enterprise Linux 9fence-agents-apc-snmpNot affected
Red Hat Enterprise Linux 9fence-agents-awsNot affected
Red Hat Enterprise Linux 9fence-agents-azure-armNot affected
Red Hat Enterprise Linux 9fence-agents-bladecenterNot affected
Red Hat Enterprise Linux 9fence-agents-brocadeNot affected
Red Hat Enterprise Linux 9fence-agents-cisco-mdsNot affected
Red Hat Enterprise Linux 9fence-agents-cisco-ucsNot affected
Red Hat Enterprise Linux 9fence-agents-commonNot affected
Red Hat Enterprise Linux 9fence-agents-computeNot affected
Red Hat Enterprise Linux 9fence-agents-drac5Not affected
Red Hat Enterprise Linux 9fence-agents-eaton-snmpNot affected
Red Hat Enterprise Linux 9fence-agents-emersonNot affected
Red Hat Enterprise Linux 9fence-agents-epsNot affected
Red Hat Enterprise Linux 9fence-agents-gceNot affected
Red Hat Enterprise Linux 9fence-agents-heuristics-pingNot affected
Red Hat Enterprise Linux 9fence-agents-hpbladeNot affected
Red Hat Enterprise Linux 9fence-agents-ibm-powervsNot affected
Red Hat Enterprise Linux 9fence-agents-ibm-vpcNot affected
Red Hat Enterprise Linux 9fence-agents-ibmbladeNot affected
Red Hat Enterprise Linux 9fence-agents-ifmibNot affected
Red Hat Enterprise Linux 9fence-agents-ilo-moonshotNot affected
Red Hat Enterprise Linux 9fence-agents-ilo-mpNot affected
Red Hat Enterprise Linux 9fence-agents-ilo-sshNot affected
Red Hat Enterprise Linux 9fence-agents-ilo2Not affected
Red Hat Enterprise Linux 9fence-agents-intelmodularNot affected
Red Hat Enterprise Linux 9fence-agents-ipduNot affected
Red Hat Enterprise Linux 9fence-agents-ipmilanNot affected
Red Hat Enterprise Linux 9fence-agents-kdumpNot affected
Red Hat Enterprise Linux 9fence-agents-kubevirtNot affected
Red Hat Enterprise Linux 9fence-agents-lparNot affected
Red Hat Enterprise Linux 9fence-agents-mpathNot affected
Red Hat Enterprise Linux 9fence-agents-nutanix-ahvNot affected
Red Hat Enterprise Linux 9fence-agents-openstackNot affected
Red Hat Enterprise Linux 9fence-agents-redfishNot affected
Red Hat Enterprise Linux 9fence-agents-rhevmNot affected
Red Hat Enterprise Linux 9fence-agents-rsaNot affected
Red Hat Enterprise Linux 9fence-agents-rsbNot affected
Red Hat Enterprise Linux 9fence-agents-sbdNot affected
Red Hat Enterprise Linux 9fence-agents-scsiNot affected
Red Hat Enterprise Linux 9fence-agents-virshNot affected
Red Hat Enterprise Linux 9fence-agents-vmware-restNot affected
Red Hat Enterprise Linux 9fence-agents-vmware-soapNot affected
Red Hat Enterprise Linux 9fence-agents-wtiNot affected
Red Hat Enterprise Linux 9fence-agents-zvmNot affected
Red Hat Enterprise Linux 9fence-virtNot affected
Red Hat Enterprise Linux 9fence-virtdNot affected
Red Hat Enterprise Linux 9fence-virtd-cpgNot affected
Red Hat Enterprise Linux 9fence-virtd-libvirtNot affected
Red Hat Enterprise Linux 9fence-virtd-multicastNot affected
Red Hat Enterprise Linux 9fence-virtd-serialNot affected
Red Hat Enterprise Linux 9fence-virtd-tcpNot affected
Red Hat Enterprise Linux 9ha-cloud-supportNot affected
Red Hat Enterprise Linux 8python-jwtNot affected
Red Hat Enterprise Linux 8python3-jwtNot affected
PyPI librarypyjwtFixed2.14.0PYSEC-2026-4151

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.