Back to list

PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set — GHSA-W6J9-CWV2-H6WQ

GitHub · GitHub · GHSA-W6J9-CWV2-H6WQ

ID
GHSA-W6J9-CWV2-H6WQ
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.9

Summary

## Summary 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. ## Affected component / version - Package: `PyJWT` (PyPI, ecosystem `pip`) - Files: `jwt/api_jwk.py` (`PyJWK.__init__`, `PyJWKSet.__init__`), `jwt/algorithms.py`…

Timeline

Published by source
2026-09-29

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 5.9 out of 10.
  • Review exposure for the affected product or family: pip: PyJWT.

Product

pip: PyJWT

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-W6J9-CWV2-H6WQ
Source
GitHub
Vendor
GitHub
Published by source
2026-09-29
Last source activity
2026-09-29
Additional identifiers
CVE-2026-102274
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.