Improper Verification of Cryptographic Signature in pyjwt - #VU132100
Published: May 21, 2026
pyjwt
Detailed vulnerability description
The vulnerability allows a remote user to bypass algorithm policy enforcement.
The vulnerability exists due to improper verification of cryptographic signature in the PyJWK verification path when decoding JWTs with PyJWK or PyJWKClient-derived keys. A remote user can sign a token with a disallowed algorithm while advertising an allowed algorithm in the JWT header to bypass algorithm policy enforcement.
Exploitation requires control of a registered JWK or JWKS private key, such as in multi-tenant or federation-style trust models.