CVE-2026-102273

PyJWT accepts public JWK containers as HMAC secrets

CVE-2026-102273 is fixed in 4 products on 1 platform, first by python3-jwt 2.10.1-4ubuntu1.2, released September 28, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.4
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0018
6th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
pyjwt · Debian 14 2.14.0-1 DEBIAN-CVE-2026-102273 Oct 4, 2026
python-jwt · Ubuntu 18.04.6 LTS (bionic) 1.5.3+ds1-1ubuntu0.1+esm3 python-jwt 1.5.3+ds1-1ubuntu0.1+esm3 Oct 27, 2026
python3-jwt · Ubuntu 18.04.6 LTS (bionic) 1.5.3+ds1-1ubuntu0.1+esm3 python3-jwt 1.5.3+ds1-1ubuntu0.1+esm3 Oct 27, 2026
python3-jwt · Ubuntu 20.04 LTS (focal) 1.7.1-2ubuntu2.1+esm3 python3-jwt 1.7.1-2ubuntu2.1+esm3 Oct 27, 2026
python3-jwt · Ubuntu 22.04.1 LTS (jammy) 2.3.0-1ubuntu0.5 python3-jwt 2.3.0-1ubuntu0.5 Oct 27, 2026
python3-jwt · Ubuntu 24.04.5 LTS (noble) 2.7.0-1ubuntu0.3 python3-jwt 2.7.0-1ubuntu0.3 Oct 27, 2026
python3-jwt · Ubuntu 26.04.1 LTS (resolute) 2.10.1-4ubuntu1.2 python3-jwt 2.10.1-4ubuntu1.2 Sep 28, 2026
python3-jwt · amzn 2023 2.4.0-1.amzn2023.0.6 ALAS2023-2026-3298 Nov 7, 2026
python3-jwt+crypto · amzn 2023 2.4.0-1.amzn2023.0.6 ALAS2023-2026-3298 Nov 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.