Skip to main content

create-ecdh CVE-2026-129319

| EUVDEUVD-2026-125887 HIGH
Improper Input Validation (CWE-20)
2026-11-14 harborist
8.2
CVSS 4.0 · Vendor: harborist
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted off-curve/low-order point to static-key ECDH endpoint
  2. Delivery
    computeSecret multiplies point without validation
  3. Exploit
    Observe shared secret leaking key residue mod small factor
  4. Execution
    Repeat across many invalid-curve points
  5. Impact
    Reconstruct full private key via CRT

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires all of the following: (1) the vulnerable code path - create-ecdh's browser.js, i.e. bundling via the 'browser' field (browserify, webpack, etc.) OR running on a Node.js version whose native crypto.createECDH is missing or does not compute the public key in setPrivateKey; (2) the victim reuses a static/long-term ECDH private key across multiple computeSecret (or setPublicKey) operations - ephemeral per-session keys do not permit full CRT key recovery; and (3) the attacker can submit arbitrary peer public keys to that victim. LIMITING FACTORS: modern Node.js re-exports the native implementation and is entirely unaffected; the attack needs many queries against the same reused key to assemble residues; and for the short-Weierstrass curves it relies on off-curve/invalid-curve points, while the ed25519 (cofactor 8) and curve25519 aliases additionally accept low-order/outside-subgroup points (e.g. (0,-1) or x=0, forcing a predictable/all-zero shared secret).

Impact

The CVSS 4.0 base score of 8.2 (High) reflects a network-reachable (AV:N), low-complexity (AC:L), unauthenticated (PR:N) flaw with high confidentiality impact (VC:H) - full private-key recovery. Critically, the vector includes AT:P (Attack Requirements: Present), and the description confirms the concrete requirement: exploitation only works against a party that reuses a static/long-term ECDH private key, and only on the vulnerable browser.js code path (browser bundlers, or legacy Node.js lacking working native crypto.createECDH). Modern Node.js re-exports the native implementation and is NOT affected, which substantially narrows the real-world exposure despite the network vector. No EPSS score was supplied in the input, and the CVE is not listed in CISA KEV, so there is no evidence of active or widespread exploitation - status is 'no public exploit identified at time of analysis' for a weaponized key-recovery tool, though the GHSA advisory does contain demonstration PoC code proving the parity/bit leak. The vuln.today Decision label is 'this_week' (not act_now/emergency), consistent with a genuinely serious cryptographic flaw whose practical exploitation is gated by specific deployment conditions (static-key reuse plus the browser/legacy path) rather than an actively-exploited internet-wide threat. Net: a real, patch-this-week priority for anyone bundling create-ecdh into browser code with reused ECDH keys, but not an emergency for the majority of modern-Node consumers who hit the unaffected native path.

Exploit ScenarioDerived

A web application (or legacy-Node service) uses create-ecdh via a browser bundle to perform ECDH with a long-lived, reused server private key, and lets a remote peer supply the public key. The attacker repeatedly submits crafted low-order points on invalid/twist curves (or small-subgroup points); because browser.js never validates the peer point is on-curve or in the prime-order subgroup, each computeSecret call leaks the private key modulo small factors, which the attacker combines via the Chinese Remainder Theorem to recover the full static private key. The GHSA advisory includes working demonstration PoC code that confirms the off-curve point is accepted and a parity bit leaks from a single query.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 14, 2026

Private-key recovery in create-ecdh 4.0.4 and earlier affects the browser.js fallback used by browser bundlers and by Node.js builds without a working native crypto.createECDH: an attacker who can submit peer public keys can exploit missing point validation to learn residues of a reused static ECDH private key, and low-order ed25519/curve25519 points can force predictable shared secrets. Modern Node.js re-exports the native implementation and is not affected. The advisory includes a public proof-of-concept reproduction; it is not verified as working exploit code, active exploitation is not confirmed, and the issue is not in CISA KEV, while the vendor CVSS 4.0 score is 8.2 and an independent CVSS 3.1 assessment is AV:N/AC:H/PR:N/UI:N/C:H/I:N/A:N.

RemediationAI

Upgrade to create-ecdh 4.0.5, which validates peer public keys in computeSecret and setPublicKey and throws 'Public key is not valid for specified curve' for infinity, off-curve points, points outside the prime-order subgroup, and Montgomery x = 0; see the advisory at https://github.com/browserify/createECDH/security/advisories/GHSA-32q7-f779-hw5r and the patch commit at https://github.com/browserify/createECDH/commit/1cfaf332773237e5fea4b51a2ad3efab4c22bec1. If upgrading is not immediately possible, ensure that modern Node.js uses the native crypto.createECDH implementation rather than the browser field, and avoid static or reused ECDH private keys by generating ephemeral keys per session; this reduces CRT key-recovery exposure but does not by itself eliminate forced predictable secrets from low-order points. For code that must keep using browser.js, add peer-key validation with elliptic's KeyPair#validate() plus explicit rejection of Montgomery x = 0 before computeSecret and setPublicKey, including the ed25519 and curve25519 low-order cases; the trade-off is custom validation code that must be maintained to match Node's behavior. Restricting or authenticating inputs that supply peer public keys is a compensating control and not a substitute for the 4.0.5 fix.

Affected VersionsENISA

createECDH 0 <4.0.5

Affected Packages

euvd createecdh fix: 4.0.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

create-ecdh provides a browserifiable implementation of Node.js crypto.createECDH, and its browser.js code path uses the elliptic library rather than Node's native ECDH. In versions through 4.0.4, ECDH.prototype.computeSecret and ECDH.prototype.setPublicKey multiplied or imported a peer public point without validating that it was on the configured curve or in the prime-order subgroup, a CWE-20 improper-input-validation flaw. For short-Weierstrass curves this permits invalid-curve and small-subgroup attacks: an attacker submits crafted peer points, observes shared-secret outputs, recovers the private key modulo small factors, and combines the residues via the Chinese Remainder Theorem when the victim reuses a static private key. The ed25519 alias (cofactor 8) additionally accepted on-curve points outside the prime-order subgroup, and a curve25519 name passed to elliptic accepted the order-2 point x = 0, forcing an all-zero shared secret. The advisory notes that modern Node.js re-exports the native crypto.createECDH implementation and is unaffected; only browser.js, used by browser bundlers via the browser field or by Node.js versions whose native implementation is missing or does not compute the public key in setPrivateKey, is in scope. All published versions 1.0.0 through 4.0.4 are affected. The fix in 4.0.5 uses elliptic's full KeyPair#validate() checks for infinity, on-curve membership, and n * P = O, plus an explicit Montgomery x = 0 rejection, and derives the secret through the validated key path.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (harborist) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Remote unauthenticated peer-key submission (AV:N/PR:N/UI:N); AC:H because success requires a reused static key plus many invalid-curve queries and CRT; impact is private-key disclosure (C:H, I:N, A:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (harborist).

CVSS VectorVendor: harborist

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

create-ecdh is a browserifiable implementation of Node.js crypto.createECDH. In versions 4.0.4 and below, the JavaScript implementation (browser.js, used by browser bundlers and on Node.js versions without a working native crypto.createECDH) did not validate peer public keys in ECDH.prototype.computeSecret or ECDH.prototype.setPublicKey. The peer point was multiplied by the local private key without checking that it was on the configured curve or in its prime-order subgroup. An attacker who can submit public keys to a party that reuses a static private key can perform an invalid-curve or small-subgroup attack and recover the private key modulo small factors, eventually recovering the full key via the Chinese Remainder Theorem. For the ed25519 and curve25519 curves, low-order points were also accepted, which could force a predictable shared secret. On modern Node.js, create-ecdh re-exports the native implementation, which is not affected. This issue is fixed in version 4.0.5.

Technical POC Analysis

CWE-20 (Improper Input Validation) in create-ecdh's browser.js.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the widely used create-ecdh JavaScript library (versions 4.0.4 and earlier) can allow an attacker to recover private keys when the library's fallback implementation is used, potentially compromising encrypted communications and authentication. Applications built with browser bundlers or older Node.js environments that rely on this fallback are at risk, which could lead to data breaches and loss of customer trust. Leadership should prioritize remediation because this flaw affects a foundational cryptographic component embedded in many products.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
widely-used crypto-browserify dependency bundled into many browser/webpack applications
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy