CVE-2026-102266: PyJWT is a Python implementation of JSON Web Token standards
CVE-2026-102266 is a high-severity flaw (CVSS 7.4) affecting pyjwt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.from_jwk is affected because PyJWK verification path used the decoded key without applying prepare_key validation. This occurs when a trusted JWK Set contains an oct entry with an empty k value. As a result, an attacker signs an HMAC token with the same zero-length key accepted by PyJWT. Consequently, forged token can carry arbitrary authenticate
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.4 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 87%) |
| CISA exploited list | No |
| Weakness | CWE-347 |
| Published | 2026-09-28 |
| Last modified | 2026-10-07 |
Last updated 2026-10-07 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- Amazon Linux 2023 ALAS: ALAS2023-2026-3298 (important): python-jwt 2026-10-24
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-102266?
pyjwt: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-102266 being exploited?
CVE-2026-102266 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-102266 affect?
CVE-2026-102266 affects pyjwt. Severity is high (CVSS 7.4). PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.from_jwk is affected because PyJWK verification path used the decoded key without applying prepare_key validation. This occurs when a trus
How urgent is CVE-2026-102266?
Priority 39/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-48526 HIGH 7.4 UPGRADE PyJWT is a JSON Web Token implementation in Python
- CVE-2026-48524 LOW 3.7 UPGRADE PyJWT is a JSON Web Token implementation in Python
- CVE-2026-48522 MEDIUM 4.2 UPGRADE PyJWT is a JSON Web Token implementation in Python
- CVE-2026-48525 MEDIUM 5.3 UPGRADE PyJWT is a JSON Web Token implementation in Python
- CVE-2026-48523 MEDIUM 5.4 UPGRADE PyJWT is a JSON Web Token implementation in Python