Insufficient Verification of Data Authenticity Affecting pyjwt package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-PYJWT-20266504
  • published14 Oct 2026
  • disclosed28 Sept 2026

Introduced: 28 Sep 2026

NewCVE-2026-102275  (opens in a new tab)
CWE-345  (opens in a new tab)
CWE-348  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 pyjwt.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pyjwt package and not the pyjwt package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.

CVSS Base Scores

version 3.1