CVE-2026-102273

EUVD-2026-88541
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.4 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 7.02%
Affected Products (NVD)
VendorProductVersion
pyjwt_projectpyjwt
2.13.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pyjwt
bookworm
2.6.0-1+deb12u1
fixed
bookworm (security)
2.6.0-1+deb12u1
fixed
forky
2.15.1-1
fixed
sid
2.15.1-1
fixed
trixie
vulnerable
trixie (security)
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pyjwt
bionic
Fixed in 1.5.3+ds1-1ubuntu0.1+esm3
released
focal
Fixed in 1.7.1-2ubuntu2.1+esm3
released
jammy
Fixed in 2.3.0-1ubuntu0.5
released
noble
Fixed in 2.7.0-1ubuntu0.3
released
resolute
Fixed in 2.10.1-4ubuntu1.2
released
stonking
Fixed in 2.13.0-1ubuntu1
released
xenial
Fixed in 1.3.0-1ubuntu0.1+esm3
released
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
python3-jwt
Amazon Linux 2023
0:2.4.0-1.amzn2023.0.6
fixed
python3-jwt+crypto
Amazon Linux 2023
0:2.4.0-1.amzn2023.0.6
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
python-jwt
Azure Linux 3.0
0:2.15.1-1.azl3
fixed