ZeroDay Brief
CVE-2026-102271

Consequently, an attacker who knows the public key can forge authenticated HMAC tokens.

CVSS
7.4High
Chance of exploitation (EPSS)
0.22%
Published
Sep 28, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious security flaw in Pyjwt that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Jpadilla Pyjwt
>= 2.4.0, < 2.14.0

Description

PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a DER public key as the shared verification key. As a result, PyJWT uses public DER bytes as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.

CWE-347

Affected products

Get alerts for these →

Timeline 21

Latest change: Nessus plugin 380689: RockyLinux 9 : fence-agents (RLSA-2026:98503) (Nov 12, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Mon, Sep 28, 2026

  1. CVECVE-2026-102271 published (CVSS 7.4)CVE Program · 21:17 UTC

References 4

  • github.com Patch /jpadilla/pyjwt/commit/2798504fa2663364573cf2d1043d8d7fef389499
  • github.com ExploitPatchVendor Advisory /jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773
  • github.com ExploitPatchVendor Advisory /jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773
  • github.com /jpadilla/pyjwt/releases/tag/2.14.0

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”