Vulnerability
CVE-2026-102273
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.
149 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-24gp-gfmv-644v
- CGA-2v96-54r9-vpcx
- CGA-58hh-rwqx-8622
- CGA-5hxq-mv57-wqvx
- CGA-5xcv-78wq-rq9w
- CGA-6g2v-c6r9-v6v5
- CGA-8m82-8qv9-hw63
- CGA-93jr-rjr5-qf4r
- CGA-9jmj-fw2c-cmm3
- CGA-9pwc-jmmc-cwh9
- CGA-c8qw-25p7-g2qq
- CGA-c926-hf83-54gp
- CGA-f29q-mgr9-gc5q
- CGA-fhcj-7259-6m52
- CGA-fjx4-9gxw-w83r
- CGA-m8v8-m4mg-j6h4
- CGA-m92f-q829-mp79
- CGA-r2wx-36gj-468r
- CGA-r5c8-r7f4-g7c4
- CGA-rqp2-vfw3-4q94