Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
5101 articles · 272132 vulns · 35/41 feeds (7d)
← Back to list
7.4
CVE-2026-102271PATCHED
pyjwt_project · pyjwt

PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard

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.

Affected Products

VendorProductVersions
pyjwt_projectpyjwt>= 2.4.0, < 2.14.0

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
red hatansible automationcert_advisory90%

References

  • https://github.com/jpadilla/pyjwt/security/advisories/GHSA-p4g4-x82p-q773(x_refsource_CONFIRM)
  • https://github.com/jpadilla/pyjwt/commit/2798504fa2663364573cf2d1043d8d7fef389499(x_refsource_MISC)
  • https://github.com/jpadilla/pyjwt/releases/tag/2.14.0(x_refsource_MISC)

Related News (5 articles)

Tier B
CERT-FR1d ago
Multiples vulnérabilités dans les produits Splunk (19 novembre 2026)
→ No new info (linked only)
Tier B
CERT-FR14d ago
Multiples vulnérabilités dans les produits IBM (06 novembre 2026)
→ No new info (linked only)
Tier B
CERT-FR25d ago
Multiples vulnérabilités dans les produits VMware (26 octobre 2026)
→ No new info (linked only)
Tier B
BSI Advisories28d ago
[NEU] [hoch] Red Hat Ansible Automation Platform: Mehrere Schwachstellen
→ No new info (linked only)
Tier B
CERT-FR49d ago
Multiples vulnérabilités dans les produits VMware (02 octobre 2026)
→ No new info (linked only)

Discussion (0)

Loading…

CVSS 3.17.4 HIGH
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA KEV❌ No
Actively exploited❌ No
Patch available
pyjwt@2.14.0
CWECWE-347
PublishedSep 28, 2026
Trending Score48
Source articles5
Independent2
Info Completeness0/14
Missing: cve_id, title, description, vendor, product, versions, cvss, epss, cwe, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALCVE-2026-102268
PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
Trending: 60
HIGHCVE-2026-102266
PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
Trending: 51
HIGHCVE-2026-102272
PyJWT BOM Bypass
Trending: 51
MEDIUMCVE-2026-101917
PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
Trending: 49
MEDIUMCVE-2026-101918
PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
Trending: 49

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Sep 28, 2026
Discovered by ZDM
Sep 28, 2026
Patch Available
Oct 1, 2026