CVE Catalog

CVE-2026-102267

HighCVSS 7.4
Published: Translated: NVD NIST

Summary

PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. When a configured trusted JWKS endpoint returns an attacker-influenced redirect, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted.

Risk Assessment

An attacker can intercept credentials or substitute verification keys, leading to token forgery and unauthorized access. This affects applications using PyJWKClient to fetch JWKS keys.

Recommendation

Update PyJWT to version 2.14.0. Configure trusted JWKS endpoints to not follow redirects or to validate their destination.

Other vulnerabilities in PyJWT

See all
Original NVD description (English source)

PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. This occurs when a configured trusted JWKS endpoint returns an attacker-influenced redirect. As a result, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted. This issue is fixed in version 2.14.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS