Bug 2542697 (CVE-2026-102273) - CVE-2026-102273 pyjwt: pyjwt: Token forgery via acceptance of public JWK containers as HMAC secrets
Summary: CVE-2026-102273 pyjwt: pyjwt: Token forgery via acceptance of public JWK cont...
Keywords:
Status: NEW
Alias: CVE-2026-102273
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-28 20:52 UTC by OSIDB Bzimport
Modified: 2026-09-28 20:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-28 20:52:38 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.