CVE-2026-102268: Vulnerability in Pyjwt Project Pyjwt

Critical. PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a mutated public-key PEM as raw key bytes. As a result, HMACAlgorithm.prepare_key treats the unrecognized...

PyPI, CWE-347

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-ffc3-869f-jxw9
EU ID
EUVD-2026-88535
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-347
Published
28 Sept 2026
Last change
7 Oct 2026
Likelihood rank
Higher than 18 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Pyjwt Project Pyjwt Before 2.14.0. Fixed in 2.14.0

Affected packages

Vulnerable version ranges and fixed releases

  • PyJWT PyPI, Affected through 2.13.0. Fixed in 2.14.0

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related