CVE-2026-102274: CWE-755: Improper Handling of Exceptional Conditions in jpadilla pyjwt
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.
AI Analysis
Technical Summary
PyJWT, a Python library implementing JSON Web Token standards, has a vulnerability (CWE-755) in versions 2.9.0 through 2.13.x where PyJWKSet does not catch a ValueError raised by RSAAlgorithm.from_jwk when processing malformed RSA JWK components. If a JWK Set contains a malformed RSA key alongside valid keys, the uncaught exception aborts the construction of the entire PyJWKSet, potentially causing authentication failures or denial of service at the request level. This flaw was addressed and fixed in version 2.14.0.
Potential Impact
The vulnerability causes denial of service at the application level by aborting the construction of the PyJWKSet when encountering a malformed RSA key in a JWK Set. This results in authentication failures or request-level denial of service. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade PyJWT to version 2.14.0 or later, where this issue is fixed. No other mitigation is required as the fix is official and available.
CVE-2026-102274: CWE-755: Improper Handling of Exceptional Conditions in jpadilla pyjwt
Description
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 v3.1
Score 5.9medium
Affected software
jpadilla
pyjwt
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PyJWT, a Python library implementing JSON Web Token standards, has a vulnerability (CWE-755) in versions 2.9.0 through 2.13.x where PyJWKSet does not catch a ValueError raised by RSAAlgorithm.from_jwk when processing malformed RSA JWK components. If a JWK Set contains a malformed RSA key alongside valid keys, the uncaught exception aborts the construction of the entire PyJWKSet, potentially causing authentication failures or denial of service at the request level. This flaw was addressed and fixed in version 2.14.0.
Potential Impact
The vulnerability causes denial of service at the application level by aborting the construction of the PyJWKSet when encountering a malformed RSA key in a JWK Set. This results in authentication failures or request-level denial of service. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade PyJWT to version 2.14.0 or later, where this issue is fixed. No other mitigation is required as the fix is official and available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-28T20:11:16.658Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abad292f7a7c541062fe5b4
Added to database: 09/28/2026, 20:48:18 UTC
Last enriched: 09/28/2026, 21:03:18 UTC
Last updated: 09/29/2026, 02:48:39 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.