CVE-2026-102273: PyJWT accepts public JWK containers as HMAC secrets
Noroxi assessment
Priority: Monitor (action score 29/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: jpadilla pyjwt 2.14.0; azl3 python-jwt 2.13.0-1 on Azure Linux 3.0 2.15.1-1.
Low priority for now. Upgrade to jpadilla pyjwt 2.14.0; azl3 python-jwt 2.13.0-1 on Azure Linux 3.0 2.15.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 28, 2026
- Updated
- Oct 6, 2026
- EPSS
- 0.1% · 7th percentile
- CWE
- CWE-347
Report tools
Action score
29
Low priority for now.
- CVSS
- 29 / 40 · 7.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 7.4
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| pyjwt project | pyjwt | cpe:2.3:a:pyjwt_project:pyjwt |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
jpadilla pyjwt
- >= 2.13.0, < 2.14.0affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- pyjwt project pyjwt2.13.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:13 | pyjwt | from 0 | — |
| Debian:14 | pyjwt | before 2.14.0-1 | 2.14.0-1 |
| PyPI | pyjwt | from 2.13.0 · before 2.14.0 | 2.14.0 |
Same product
pyjwt project: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-102268PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard36Monitor
- CVE-2026-102267PyJWT: PyJWKClient follows redirects when fetching JWKS36Monitor
- CVE-2026-102266PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-102271Sep 28, 2026 · PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard29Monitor
- ← EarlierCVE-2026-102272Sep 28, 2026 · PyJWT is a Python implementation of JSON Web Token standards.29Monitor
- Later →CVE-2026-102274Sep 28, 2026 · PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| jpadilla pyjwt | 2.14.0 · description | Vendor (CNA) |
| azl3 python-jwt 2.13.0-1 on Azure Linux 3.0 | 2.15.1-1 · Release Notes | Microsoft (MSRC) |
| debian:pyjwt | 2.14.0-1 · Debian:14 | Package registry (OSV) |
| PyPI:pyjwt | 2.14.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- Fix recordedsame day
- TodayNov 12, 2026+45 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-1022660 days apartPyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation36Monitor
- CVE-2026-1022680 days apartPyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard36Monitor
- CVE-2026-1022710 days apartPyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard29Monitor
- CVE-2026-1022720 days apartPyJWT is a Python implementation of JSON Web Token standards.29Monitor
- CVE-2026-48523123 days apartPyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys21Monitor
Not on record for this CVE: researcher credit · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-347 · Improper Verification of Cryptographic SignatureCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-secondary
Root cause
The verifier takes the algorithm to verify with from the token’s own header. Untrusted data ends up deciding its own verification rule.
The bug in code
The whole CWE-347 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const claims = jwt.verify(token, publicKey);Fixed
const claims = jwt.verify(token, publicKey, {
algorithms: ["RS256"],
issuer: "https://id.example.com",
audience: "portal",
});Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- SSVC exploitation— → none
- Exploit maturity— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.