This occurs when an application allows HMAC and asymmetric algorithms and passes a public JWK container as the raw key.
- CVSS
- 7.4High
- Chance of exploitation (EPSS)
- 0.18%
- Published
- Sep 28, 2026
- In the news
- Not yet
What to do
A serious security flaw in Pyjwt that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Jpadilla Pyjwt
- >= 2.13.0, < 2.14.0
Description
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.
Affected products
Get alerts for these →Timeline 10
Latest change: Nessus plugin 370142: RHEL 9 : Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update (Important) (RHSA-2026:87004) (Nov 25, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Nov 26, 2026
Thu, Nov 19, 2026
Fri, Nov 13, 2026
Thu, Nov 12, 2026
- DetectionNessus plugin 379920: RHEL 9 : Satellite 6.18.11 Async Update (Critical) (RHSA-2026:99952)Tenable
- DetectionNessus plugin 379921: RHEL 9 : Satellite 6.17.13 Async Update (Critical) (RHSA-2026:99950)Tenable
- DetectionNessus plugin 379924: RHEL 8 / 9 : Satellite 6.16.15 Async Update (Critical) (RHSA-2026:99949)Tenable
Wed, Oct 28, 2026
Sun, Oct 25, 2026
Mon, Sep 28, 2026
- CVECVE-2026-102273 published (CVSS 7.4)CVE Program · 21:17 UTC
References 3
- github.com Patch /jpadilla/pyjwt/commit/801cd128528c62d9b23fcd161d1a2e1c17982f95
- github.com Vendor Advisory /jpadilla/pyjwt/security/advisories/GHSA-w2cx-738m-mc7w
- github.com /jpadilla/pyjwt/releases/tag/2.14.0