CVE-2026-102266: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
Noroxi assessment
Priority: Monitor (action score 36/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.22% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- 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, 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.
- BDU:2026-15806
- EUVD-2026-88484
- GHSA-9j54-fg26-wv3r
- ALSA-2026:94500
- ALSA-2026:94501
- openSUSE-SU-2026:11994-1
- PYSEC-2026-4143
- RHSA-2026:87004
- RHSA-2026:94500
- RHSA-2026:94501
- RHSA-2026:94523
- RHSA-2026:94557
- RHSA-2026:94634
- RHSA-2026:95012
- RHSA-2026:98503
- RHSA-2026:98612
- RLSA-2026:94500
- RLSA-2026:94501
- RLSA-2026:98503
- RLSA-2026:98612
- Published
- Sep 28, 2026
- Updated
- Oct 7, 2026
- EPSS
- 0.2% · 13th percentile
- CWE
- CWE-347
Report tools
Action score
36
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.1
- CNA · GitHub_M
- 7.4
- 1.7 point gap
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
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 |
|---|---|---|---|
| AlmaLinux:10 | fence-agents-aliyun | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-all | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-amt-ws | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-apc | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-apc-snmp | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-aws | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-azure-arm | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-bladecenter | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-brocade | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-cisco-mds | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-cisco-ucs | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-common | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-drac5 | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-eaton-snmp | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-emerson | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-eps | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-gce | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-heuristics-ping | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-hpblade | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-ibm-powervs | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-ibm-vpc | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-ibmblade | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-ifmib | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
| AlmaLinux:10 | fence-agents-ilo-moonshot | before 4.16.0-21.el10_2.7 | 4.16.0-21.el10_2.7 |
+96
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-102275PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-101918Sep 28, 2026 · PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)30Monitor
- ← EarlierCVE-2026-102265Sep 28, 2026 · PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header21Monitor
- Later →CVE-2026-102269Sep 28, 2026 · PyJWT: Non-canonical signature segments enable raw-token revocation bypass21Monitor
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) |
| almalinux:fence-agents-aliyun | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-all | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-amt-ws | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-apc | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-apc-snmp | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-aws | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-azure-arm | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-bladecenter | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-cisco-ucs | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-common | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-compute | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:fence-agents-drac5 | 4.10.0-110.el9_8.8 · AlmaLinux:9 | Package registry (OSV) |
| debian:pyjwt | 2.14.0-1 · Debian:14 | Package registry (OSV) |
| opensuse:python-PyJWT | 2.15.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| PyPI:pyjwt | 2.14.0 | Package registry (OSV) |
| red hat:automation-gateway-server | 0:2.6.20261019-1.el9ap · Red Hat:ansible_automation_platform:2.6::el9 | Package registry (OSV) |
| red hat:automation-platform-ui | 0:2.6.15-1.el9ap · Red Hat:ansible_automation_platform:2.6::el9 | Package registry (OSV) |
| red hat:fence-agents | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:fence-agents-aliyun | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:fence-agents-all | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:fence-agents-amt-ws | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:fence-agents-apc | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:fence-agents-apc-snmp | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:fence-agents-aws | 0:4.10.0-110.el9_8.8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:python3.12-pulpcore | 0:3.49.71-1.el9ap · Red Hat:ansible_automation_platform:2.6::el9 | Package registry (OSV) |
| red hat:python3.12-pyjwt | 0:2.14.0-1.el9ap · Red Hat:ansible_automation_platform:2.6::el9 | Package registry (OSV) |
| red hat:python3.12-pyjwt+crypto | 0:2.14.0-1.el9ap · Red Hat:ansible_automation_platform:2.6::el9 | Package registry (OSV) |
| rocky linux:fence-agents | 0:4.10.0-110.el9_8.8 · Rocky Linux:9 | Package registry (OSV) |
+11
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 16, 2026+49 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-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-1022730 days apartPyJWT accepts public JWK containers as HMAC secrets29Monitor
- 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.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- 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:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-primary
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
- CVSS7.4 → 9.1
- Severityhigh → critical
- SSVC exploitation— → poc
- Exploit maturity— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.