CVE-2026-102271: PyJWT is a Python implementation of JSON Web Token standards
CVE-2026-102271 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.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a DER public key as the shared verification key. As a result, PyJWT uses public DER bytes as an HMAC secret. Consequently, an attacker who knows th
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
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 88%) |
| CISA exploited list | No |
| Weakness | CWE-347 |
| Published | 2026-09-28 |
| Last modified | 2026-10-06 |
Last updated 2026-10-06 · 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
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-102271?
pyjwt: upgrade to 2.14.0. Exact commands for each OS are on this page.
Is CVE-2026-102271 being exploited?
CVE-2026-102271 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-102271 affect?
CVE-2026-102271 affects pyjwt. Severity is high (CVSS 7.4). PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an
How urgent is CVE-2026-102271?
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