CVE-2026-103001

Publication date 30 September 2026

Last updated 26 November 2026


Ubuntu priority

CVSS 3 severity score

6.5 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
pyjwt 26.10 stonking
Needs evaluation
26.04 LTS resolute
Not affected
24.04 LTS noble
Not affected
22.04 LTS jammy
Fixed in 2.3.0-1ubuntu0.8
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation

Notes


john-breton

jammy 2.3.0 has the pre-2.4.0 form of this bug: decode_complete() calls setdefault() on the caller's options dict (issue #679), fixed by 3d4d822 (#743, 2.4.0). 2.4.0 to 2.10.1 copy options first and are not affected; 2.11.0 reintroduced it in _merge_options().

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pyjwt

Severity score breakdown

CVSS version: CVSS v3.0

Base score 6.5 · Medium

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N


Access our resources on patching vulnerabilities