CVE-2026-102272: PyJWT is a Python implementation of JSON Web Token standards
CVE-2026-102272 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.prepare_key in jwt/algorithms.py is affected because raw-JWK detector does not normalize accepted Unicode byte-order marks before checking for JSON. This occurs when a public JWK is prefixed with a UTF-8 BOM and used in a mixed-algorithm verification path. As a result, public JWK bypasses asymmetric-key detection and becomes the HMAC secret. Cons
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 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-102272?
pyjwt: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-102272 being exploited?
CVE-2026-102272 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-102272 affect?
CVE-2026-102272 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.prepare_key in jwt/algorithms.py is affected because raw-JWK detector does not normalize accepted Unicode byte-order marks before checking
How urgent is CVE-2026-102272?
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