HIGHCVSS v3.1 7.5Vulnerability

CVE-2026-73864

## Description `bin/install-from-cache.js` downloads a prebuilt native addon (`*.node`) over the network and writes it directly to the artifact path **with no cryptographic integrity verification of any kind** — no checksum manifest, no signature, no SRI. A scan of the whole package for `createHash|sha256|checksum|integrity|digest|signature` finds nothing. The file is then `require()`-loaded by the consumer, which executes the addon's native module-init code. Anyone able to influence the download achieves code execution on the installing machine. ### Affected code (v1.6.0) - **Mirror is fully attacker-steerable via an env var, no host pinning** — `bin/install-from-cache.js:80`: ```js let assetUrl = mirrorHost || process.env[mirrorEnvVar] || 'https://github.com'; ``` `re2` passes `--host-var RE2_DOWNLOAD_MIRROR`, so setting `RE2_DOWNLOAD_MIRROR` (CI config, `.npmrc`/env passthrough, a compromised CI job, a poisoned shell profile) redirects 100% of the download to an arbitrary host with zero pinning. - **The write sink is a bare `writeFile`, no verification** — `bin/install-from-cache.js:185-187`: ```js const write = async (name, data) => { await fsp.mkdir(path.dirname(name), {recursive: true}); await fsp.writeFile(name, data); // `data` is the raw HTTP response body }; ``` - **Cleartext transfer + silent protocol downgrade on redirect** — `bin/install-from-cache.js:155,165`: ```js const httpLib = isHttps.test(url) ? https : isHttp.test(url) ? http : null; // http:// supported ... get(res.headers.location).then(resolve, reject); // re-derives protocol from the NEW url ``` An `https://` asset that 302-redirects to `http://` is followed and fetched over plaintext, no warning, no scheme pinning, no redirect cap. ### The post-download "verification" is not an integrity gate `isVerified()` optionally runs `npm run verify-build` / `npm test` *after* writing the file. For `re2`, `scripts/verify-build.js` `require()`s the binar

Properties

Severity
high
Summary
install-artifact-from-github loads downloaded native artifacts without integrity verification
Nvd fetched at
2026-11-19T03:31:17.617109+00:00
Cvss severity
HIGH
Cvss score
7.5
Retrieved at
2026-11-19T03:32:39+00:00
Ghsa published
2026-11-18T21:17:37Z
Source url
https://github.com/advisories/GHSA-88q3-gch3-5396
Ghsa updated
2026-11-18T21:17:37Z
Ghsa id
GHSA-88q3-gch3-5396
Last source
GitHub Advisory Database
Score
7.5
Cvss version
3.1
Cve id
CVE-2026-73864
Cvss vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
First seen by Signal
2026-11-18T19:25:45+00:00
Name
CVE-2026-73864
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published at
2026-11-18T19:18:08.043

Related Entities (3)

AFFECTS (1)

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-73864 (CVSS v3.1 7.5) — Ninja Signal Threat Intelligence | Ninja Signal