Skip to main content
VulnerabilityPublished Updated

CVE-2026-102265: Pyjwt · From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches

Affects pyjwtSource GCVE Database

0
Compare
Authoritative record:CVE-2026-102265· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 2.14.0 : update pyjwt when convenient.

Data as of 20 Nov 2026, 09:25 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.14.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=stonkingOther threatsAffected
  • 2.10.1-4ubuntu1 – 2.13.0-1ubuntu1.1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=resoluteOther threatsAffected
  • 2.10.1-2 – 2.10.1-4ubuntu1.4
9 affected builds
Fixed in–
Ubuntu 24.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=nobleOther threatsAffected
  • 2.7.0-1 – 2.7.0-1ubuntu0.5
6 affected builds
Fixed in–
Ubuntu 22.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=jammyOther threatsAffected
  • 1.7.1-2ubuntu2 – 2.3.0-1ubuntu0.7
10 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/focalOther threatsAffected
  • 1.7.0-2 – 1.7.1-2ubuntu2.1+esm4
9 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 1.4.2-1.1 – 1.5.3+ds1-1ubuntu0.1+esm4
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade PyJWT to version 2.14.0 or later, where this issue is fixed. No other mitigations are indicated or required.

Description

PyJWT versions from 2.13.0 up to but not including 2.14.0 contain a vulnerability in the PyJWS._load function where a RecursionError is not properly caught during JSON parsing of deeply nested token headers. This causes the error to escape the PyJWT error handling, resulting in an unauthenticated malformed token triggering a request-level failure and HTTP 500 response. The issue is fixed in version 2.14.0.

References

Community reviews

Loading reviews…