CVE-2026-102274
PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-755 |
| Vendor | jpadilla |
| Product | pyjwt |
| Published | Sep 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for jpadilla pyjwt
Be the first to know when new medium vulnerabilities affecting jpadilla pyjwt are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
jpadilla / pyjwt
>= 2.9.0, < 2.14.0