CVE-2026-102266
Last modified
CVE-2026-102266 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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 authenticated claims. This issue is fixed in version 2.14.0.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pyjwt Project | Pyjwt | 2.13.0 |
References
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0Product, Release Notes
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3rExploit, Vendor Advisory
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3rExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-102266?
How severe is CVE-2026-102266?
How do I fix CVE-2026-102266?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-102260HashiCorp Nomad and Nomad Enterprise are vulnerable to cross…4.3
- CVE-2026-102261A flaw has been found in owen2345 Camaleon CMS up to 2.9.2. …5.4
- CVE-2026-102262Newell Brands DYMO ID 1.5.1.71 resolves its plugin Modules d…7.3
- CVE-2026-102263A vulnerability has been found in mwasikz robo-cafe-rms up t…4.7
- CVE-2026-102264A vulnerability was found in mwasikz robo-cafe-rms up to 228…3.5
- CVE-2026-102265PyJWT is a Python implementation of JSON Web Token standards…5.3
- CVE-2026-102267PyJWT is a Python implementation of JSON Web Token standards…9.1
- CVE-2026-102268PyJWT is a Python implementation of JSON Web Token standards…9.1
- CVE-2026-102269PyJWT is a Python implementation of JSON Web Token standards…5.4
- CVE-2026-10227A vulnerability has been found in raisulislamg4 student_mana…7.3
- CVE-2026-102270PyJWT is a Python implementation of JSON Web Token standards…4.9
- CVE-2026-102271PyJWT is a Python implementation of JSON Web Token standards…7.4
Are you affected by CVE-2026-102266?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
