Vulnerability
CVE-2026-48523
PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
142 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-29h3-852p-m7rq
- CGA-2fgp-hg74-r878
- CGA-376m-99m5-7m2p
- CGA-5696-54w9-xh3g
- CGA-58p3-m2c8-58m8
- CGA-5jwp-7vxc-px93
- CGA-6m25-fvwp-8v83
- CGA-8j9j-mhj2-5wvx
- CGA-8vpg-6g6r-8hgj
- CGA-9pfw-2hwv-72hm
- CGA-f4qp-rx4f-xvr6
- CGA-gmfq-wqgv-mw3f
- CGA-hc9v-g437-94qw
- CGA-hxj9-vp6f-6rj3
- CGA-jr3w-88gc-gpc9
- CGA-m39w-fgj2-vvc3
- CGA-mfrm-hm9g-vxvj
- CGA-pg3f-v759-7xfx
- CGA-pphg-mxc6-wmjg
- CGA-q5vh-92v8-cvg3
- CGA-q96g-xf2h-2c45
- CGA-rq5w-v3pp-v4jj
- CGA-v6q5-rpmv-3hxf
- CGA-w4v5-jfqv-xmv2