CVE-2026-102274
HIGH 7.5CVSS 3.1PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
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.
- Published
- 28 Sep 2026
- Last modified
- 6 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-755
- Also known as
- GHSA-w6j9-cwv2-h6wqPYSEC-2026-4152
- Sources
- NVDJSONOSV GHSA-w6j9-cwv2-h6wqJSONOSV PYSEC-2026-4152JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyjwt_project | pyjwtcpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.14.0 | 2.14.0 |
| OSV | PyPI | pyjwt | >= 2.9.0, < 2.14.0 | 2.14.0 |
References
- https://github.com/jpadilla/pyjwt/commit/8915570a0bfda9f0ff0e34e7fb09bdb9d71580cf · Patch, WEB
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 · Product, Release Notes, WEB
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w6j9-cwv2-h6wq · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102274 · ADVISORY
- https://github.com/jpadilla/pyjwt · PACKAGE
- https://pypi.org/project/pyjwt · PACKAGE
- https://github.com/advisories/GHSA-w6j9-cwv2-h6wq · ADVISORY
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 28 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Sep 2026)