Menu

Star on GitHub · 3.4k

CVE-2026-102271

7.4 · HIGH

PyJWT is a Python implementation of JSON Web Token standards.

Published Sep 28, 2026pyjwt_projectCWE-347EPSS 0.21%

Overview

CVE-2026-102271 is a high-severity vulnerability affecting pyjwt_project pyjwt. It was published on September 28, 2026 and has a CVSS 3.1 base score of 7.4 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from pyjwt_project. Update pyjwt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
pyjwt_projectpyjwt>= 2.4.0, < 2.14.0Affected

Frequently asked questions

What is CVE-2026-102271?

CVE-2026-102271 is a high-severity vulnerability affecting pyjwt_project pyjwt. It was published on September 28, 2026 and has a CVSS 3.1 base score of 7.4 (HIGH).

How severe is CVE-2026-102271?

This vulnerability has a CVSS 3.1 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-102271?

Check the references section for vendor advisories and patches from pyjwt_project. Update pyjwt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-102271?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-102271 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all
Watch the demo →