CVE Catalog

CVE-2026-103001

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

13th percentile - higher than 13% of all known CVEs

Summary

PyJWT is a Python implementation of JSON Web Token standards. From 2.11.0 through 2.13.0, PyJWT._merge_options() can modify a caller-supplied mutable options mapping when verify_signature is false. If an application reuses that same mapping for a later decode() or decode_complete() call and changes verify_signature to true, the mapping can retain false values for expiration, not-before, issued-at, audience, issuer, subject, and JWT ID checks, allowing a signed token with invalid registered claims to be accepted without disabling signature verification; applications that create a fresh options mapping for each call are not affected.

Risk Assessment

May lead to acceptance of tokens with invalid claims (e.g., expired or wrong audience), weakening access control and potentially enabling unauthorized access. Only affects applications that reuse the same mutable options mapping.

Recommendation

Update PyJWT beyond 2.13.0 once available and modify application code to create a fresh options mapping for each decode()/decode_complete() call. Avoid reusing mutable options dictionaries across calls.

Other vulnerabilities in PyJWT

See all
Original NVD description (English source)

PyJWT is a Python implementation of JSON Web Token standards. From 2.11.0 through 2.13.0, PyJWT's PyJWT._merge_options() method can modify a caller-supplied mutable options mapping when verify_signature is false. If an application reuses that same mapping for a later decode() or decode_complete() call and changes verify_signature to true, the mapping can retain false values for expiration, not-before, issued-at, audience, issuer, subject, and JWT ID checks. A signed token with invalid registered claims can then be accepted without disabling signature verification, but applications that create a fresh options mapping for each call are not affected.

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