CVE-2026-102274PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
Updated under an hour ago ()
Does this affect you?
It affects jpadilla pyjwt and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.39%, higher than 31% of scored CVEs.
Do this next
Free account, 1 product
PyJWT is a Python implementation of JSON Web Token standards. From 2.9.0 until 2.14.0, PyJWKSet does not catch the plain ValueError raised for malformed RSA JWK components by RSAAlgorithm.from_jwk in jwt/api_jwk.py. This occurs when a JWK Set contains a malformed RSA key alongside otherwise usable keys. As a result, one malformed member aborts construction of the entire PyJWKSet. Consequently, applications can experience authentication failures or request-level denial of service. This issue is fixed in version 2.14.0.
- CVSS
- 5.9 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-755
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.39% (percentile 31)
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Sep 29, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
jpadilla pyjwt jpadilla:pyjwt (from the name) | from 2.9.0, < 2.14.0 | CNA record |
pyjwt_project pyjwt pyjwt_project:pyjwt | from 2.9.0 before 2.14.0 | NVD |
References
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w6j9-cwv2-h6wqx-refsource-confirm, exploit, mitigation, vendor-advisory
- https://github.com/jpadilla/pyjwt/commit/8915570a0bfda9f0ff0e34e7fb09bdb9d71580cfx-refsource-misc, patch
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0x-refsource-misc, product, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.