Improper Verification of Cryptographic Signature Affecting python-pyjwt package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (7th 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-RHEL7-PYTHONPYJWT-20475765
  • published4 Oct 2026
  • disclosed28 Sept 2026

Introduced: 28 Sep 2026

NewCVE-2026-102273  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 python-pyjwt.

NVD Description

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

PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because HMAC key guard only recognizes top-level public JWK forms and misses container representations. This occurs when an application allows HMAC and asymmetric algorithms and passes a public JWK container as the raw key. As a result, public asymmetric key material is accepted as the HMAC secret. Consequently, an attacker who knows the public key can forge a token with arbitrary authenticated claims. This issue is fixed in version 2.14.0.

CVSS Base Scores

version 3.1