CVE-2026-103001 PyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse

Medium 6.5 Published Updated

Attackers can bypass JWT claim verification by exploiting mutable options dictionary reuse in PyJWT, allowing acceptance of invalid tokens.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-103001?

CVE-2026-103001 is a medium-severity vulnerability in jpadilla pyjwt, published on 30 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-471

Which versions are affected by CVE-2026-103001?

3 open source packages ship an affected version, including pyjwt and PyJWT. It affects 1 product.

PackageAffectedFixed in
pyjwt PyPIFrom 2.11.0 to 2.13.0None
pyjwt PyPIFrom 2.11.0 to 2.13.0None
PyJWT PyPIFrom 2.11.0 to 2.13.0None

Products include Pyjwt Project Pyjwt.

How do I fix CVE-2026-103001?

Upgrade to a fixed version.

Is CVE-2026-103001 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-103001 exists.

Sources

Also known as AZL-105642, BELL-CVE-2026-103001, CLEANSTART-2026-AF59744, CLEANSTART-2026-CW76652, DEBIAN-CVE-2026-103001, ECHO-8665-d21f-1204 and 25 more.

Is CVE-2026-103001 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free