CVE-2026-102268
Last modified
CVE-2026-102268 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader.
Description
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a mutated public-key PEM as raw key bytes. As a result, HMACAlgorithm.prepare_key treats the unrecognized asymmetric public key as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| jpadilla | pyjwt | < 2.14.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-102268?
How severe is CVE-2026-102268?
How do I fix CVE-2026-102268?
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-10224A security vulnerability has been detected in NousResearch h…5.5
- CVE-2026-10225A vulnerability was detected in raisulislamg4 student_manage…7.3
- CVE-2026-10226A flaw has been found in raisulislamg4 student_management_sy…7.3
- CVE-2026-102265PyJWT is a Python implementation of JSON Web Token standards…5.3
- CVE-2026-102266PyJWT is a Python implementation of JSON Web Token standards…7.4
- CVE-2026-102267PyJWT is a Python implementation of JSON Web Token standards…7.4
- CVE-2026-102269PyJWT is a Python implementation of JSON Web Token standards…4.8
- 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.4
- CVE-2026-102271PyJWT is a Python implementation of JSON Web Token standards…7.4
- CVE-2026-102272PyJWT is a Python implementation of JSON Web Token standards…7.4
- CVE-2026-102273PyJWT is a Python implementation of JSON Web Token standards…7.4
Are you affected by CVE-2026-102268?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
