CVE-2026-102273
Last modified
CVE-2026-102273 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because HMAC key guard only recognizes top-level public JWK forms and misses container representations.
Description
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because HMAC key guard only recognizes top-level public JWK forms and misses container representations. This occurs when an application allows HMAC and asymmetric algorithms and passes a public JWK container as the raw key. As a result, public asymmetric key material is accepted as the HMAC secret. Consequently, an attacker who knows the public key can forge a token with arbitrary authenticated claims. 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.13.0, < 2.14.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-102273?
How severe is CVE-2026-102273?
How do I fix CVE-2026-102273?
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-102268PyJWT is a Python implementation of JSON Web Token standards…9.1
- 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-102274PyJWT is a Python implementation of JSON Web Token standards…5.9
- CVE-2026-102275PyJWT is a Python implementation of JSON Web Token standards…6.5
- CVE-2026-102276The brace-expansion library generates arbitrary strings cont…7.5
- CVE-2026-102277The brace-expansion library generates arbitrary strings cont…5.3
- CVE-2026-102278The brace-expansion library generates arbitrary strings cont…7.5
- CVE-2026-102279Laravel is a web application framework. Prior to 12.69.0 and…3.1
Are you affected by CVE-2026-102273?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
