9.1

CVE-2026-102268: PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard

Analyzed
AliasesGHSA-ffc3-869f-jxw9PYSEC-2026-4145UBUNTU-CVE-2026-102268
Published 28-09-2026Last modified 29-09-2026

Vulnerability summary

CVE-2026-102268 is a critical (CVSS 9.1) vulnerability in jpadilla pyjwt. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 26 · Related 14

Timeline

  1. 28-09-2026
    PublishedVulnerability first disclosed.
  2. 29-09-2026
    Last modifiedVulnerability information updated.

Description

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 asymmetric public key 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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pyjwt

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard79 products
  • airflow-2< 2.11.2-r25
  • airflow-core-2< 2.11.2-r10
  • authentik-2026.5< 2026.5.7-r4
  • authentik-fips-2026.5< 2026.5.7-r7
  • azureml-inference-server-httpAll versions (No fix recorded) | < 1.5.1-r10
Wolfi12 products
  • datadog-agent-7.77-core-integrations< 7.77.3-r26
  • datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
  • datadog-agent-7.79-core-integrations< 7.79.2-r20
  • datadog-agent-7.80-core-integrationsAll versions (No fix recorded) | < 7.80.4-r19
  • datadog-agent-7.81-core-integrations< 7.81.3-r8
Debian1 product
  • pyjwtAll versions (No fix recorded) | < 2.14.0-1
Jpadilla1 product
Pyjwt_project1 product
PyPI1 product
  • pyjwt< 2.14.0
Ubuntu1 product
  • pyjwtAll versions (No fix recorded) | < 1.5.3+ds1-1ubuntu0.1+esm3 | < 1.7.1-2ubuntu2.1+esm3 | < 2.3.0-1ubuntu0.5 | < 2.7.0-1ubuntu0.3 | < 2.13.0-1ubuntu1 | < 2.10.1-4ubuntu1.2

7 vendors · 96 products

References

13 links
Show all 13 references