Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. PyJWT
  4. ›
  5. CVE-2026-102274

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

September 29, 2026

A malformed RSA JWK inside a JWK Set aborts parsing of the entire set instead of being skipped, because RSAAlgorithm.from_jwk can raise a plain ValueError that isn’t caught by PyJWKSet’s per-key error-skipping logic.

References

  • github.com/advisories/GHSA-w6j9-cwv2-h6wq
  • github.com/jpadilla/pyjwt/commit/8915570a0bfda9f0ff0e34e7fb09bdb9d71580cf
  • github.com/jpadilla/pyjwt/releases/tag/2.14.0
  • github.com/jpadilla/pyjwt/security/advisories/GHSA-w6j9-cwv2-h6wq
  • nvd.nist.gov/vuln/detail/CVE-2026-102274

Code Behaviors & Features

Detect and mitigate CVE-2026-102274 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.9.0 before 2.14.0

Fixed versions

  • 2.14.0

Solution

Upgrade to version 2.14.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

pypi/PyJWT/CVE-2026-102274.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 Oct 2026 00:17:29 +0000.