# CVE-2026-102274: PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-28T20:42:28.355Z
- Modified: 2026-10-06T18:25:21.003Z
- Also known as: GHSA-w6j9-cwv2-h6wq, PYSEC-2026-4152
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jpadilla pyjwt: >= 2.9.0, < 2.14.0
- pyjwt (PyPI): from 2.9.0 before 2.14.0
- pyjwt_project pyjwt: from 2.9.0 before 2.14.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w6j9-cwv2-h6wq> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/jpadilla/pyjwt/commit/8915570a0bfda9f0ff0e34e7fb09bdb9d71580cf> (patch, web)
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0> (product, release-notes, 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)

## Sources

- CVE List: [CVE-2026-102274](https://www.cve.org/CVERecord?id=CVE-2026-102274), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-w6j9-cwv2-h6wq](https://github.com/advisories/GHSA-w6j9-cwv2-h6wq), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-102274](https://nvd.nist.gov/vuln/detail/CVE-2026-102274), Public domain, modified 2026-10-06
- PyPA Advisory Database: [PYSEC-2026-4152](https://osv.dev/vulnerability/PYSEC-2026-4152), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-102274 · Whole record: https://cve.day/CVE-2026-102274.json · Rebuilt by cve.day 2026-11-25T22:59:41.390Z
