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.
CVE-2026-102268
This critical-severity CVE scores 9.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2% (8th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.1
- EG Score
- 9.1CRITICALmedium confidence
- EG Risk
- 72EG Risk 72/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity91% × 45%Exploitation40% × 40%Automatability100% × 15%CISA SSVC: Track at low, Track* at medium and Attend at high mission impact.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.2%
- EPSS %ILE
- 8th
- KEV
- Not listed
CISA SSVCTrack at low, Track* at medium and Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 28, 2026
Last Modified
September 30, 2026
Advisory Details (3)
Auto-updated Sep 28, 20262.14.0
Patch available: jpadilla/pyjwt 2.14.0
https://github.com/jpadilla/pyjwt/releases/tag/2.14.0commit 8b4e233a2220 (jpadilla/pyjwt)
Patch available: jpadilla/pyjwt 2.14.0 (contains commit 8b4e233a2220)
https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard, permitting HS256 token forgery under a mixed algorithm allow-list. · Advisory · jpadilla/pyjwt · GitHub
https://github.com/jpadilla/pyjwt/security/advisories/GHSA-ffc3-869f-jxw9Vendor Advisories for CVE-2026-102268(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-102268Microsoft Security Response Center (MSRC)Critical
PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- GHSA-ffc3-869f-jxw9GitHub Security AdvisoriesCritical
PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pyjwt | 0.1.1 ... 2.9.0 (55 versions) | 2.14.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 39× in last 7d / 39× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-04 09:32 UTCVendor advisory
- 2026-10-04 05:15 UTCVendor advisory
- 2026-10-04 00:59 UTCVendor advisory
- 2026-10-03 20:44 UTCVendor advisory
- 2026-10-03 16:24 UTCEG score recompute
- 2026-10-03 16:24 UTCVendor advisory
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-03 12:07 UTCVendor advisory
- 2026-10-03 07:51 UTCVendor advisory
- 2026-10-03 03:32 UTCVendor advisory
- 2026-10-02 23:16 UTCVendor advisory
- 2026-10-02 18:58 UTCEG score recompute
- 2026-10-02 18:58 UTCVendor advisory
- 2026-10-02 14:42 UTCVendor advisory
- 2026-10-02 10:25 UTCVendor advisory
- 2026-10-02 06:10 UTCVendor advisory
- 2026-10-02 01:54 UTCVendor advisory
- 2026-10-01 21:38 UTCEG score recompute
- 2026-10-01 21:38 UTCVendor advisory
- 2026-10-01 19:49 UTCEPSS rescore
- 2026-10-01 17:19 UTCVendor advisory
- 2026-10-01 13:01 UTCVendor advisory
- 2026-10-01 08:46 UTCVendor advisory
- 2026-10-01 04:30 UTCVendor advisory
- 2026-10-01 00:14 UTCVendor advisory
Show 14 moreShow fewer
- 2026-09-30 19:44 UTCVendor advisory
- 2026-09-30 16:57 UTCEG score recompute
- 2026-09-30 16:57 UTCVendor advisory
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-30 12:41 UTCVendor advisory
- 2026-09-30 08:24 UTCVendor advisory
- 2026-09-29 18:37 UTCEG score recompute
- 2026-09-29 15:20 UTCEPSS rescore
- 2026-09-29 14:19 UTCEG score recompute
- 2026-09-29 14:04 UTCEG score recompute
- 2026-09-29 01:33 UTCEG score recompute
- 2026-09-28 21:18 UTCEG score recompute
- 2026-09-28 20:36 UTCEG score recompute
- 2026-09-28 20:36 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
10 shownPyPI:pyjwt
Frequently asked(5)
What is CVE-2026-102268?
When was CVE-2026-102268 disclosed?
Is CVE-2026-102268 actively exploited?
What is the CVSS score of CVE-2026-102268?
How do I remediate CVE-2026-102268?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-102268
Is Your Infrastructure Affected by CVE-2026-102268?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.