Skip to main content
VulnerabilityPublished

CVE-2026-102270: jpadilla pyjwt · ReDoS

Affects jpadilla pyjwtSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.4 Medium : upgrade to 2.14.0 when convenient.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 3.1 base score
4.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.14.0
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

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 13 Nov 2026.

What to do

Upgrade jpadilla pyjwt to 2.14.0.

Affected software

ProductAffectedFixed in
jpadillapyjwtAffected
  • <2.14.0
Fixed in
  • 2.14.0
PyPIpyjwtpkg:pypi/pyjwtOther threatsAffected
  • <2.14.0
Fixed in
  • 2.14.0

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

AI-suggested

The vulnerability is fixed in pyjwt version 2.14.0. Users should upgrade to pyjwt 2.14.0 or later to mitigate this issue. Prior to upgrading, avoid passing untrusted or attacker-controlled PEM-like inputs to pyjwt key preparation functions. No other mitigations are specified by the vendor.

Description

CVE-2026-102270 is a Regular Expression Denial of Service (ReDoS) vulnerability in the pyjwt library's is_pem_format function. The vulnerability arises from a regex pattern that exhibits quadratic time complexity when processing malformed PEM-like inputs consisting of repeated '-----BEGIN CERTIFICATE-----' lines without a corresponding '---- END' line. This can cause excessive CPU usage, potentially leading to resource exhaustion and denial of service. The issue affects pyjwt versions prior to 2.14.0. A fix replacing the vulnerable regex with a bounded marker scan was released in pyjwt 2.14.0 on 2026-09-11.

References

Community reviews

Loading reviews…