All vulnerabilities

npm

CVE-2026-73864

install-artifact-from-github loads downloaded native artifacts without integrity verification

Severity
High 7.5
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.7.0
Exploit chance
0.2% in the next 30 daysHigher than 9% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-494
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Also known as
GHSA-88q3-gch3-5396
Sources
OSV.dev and GitHub

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.

isVerified() optionally runs npm run verify-build / npm test after writing the file. For re2, scripts/verify-build.js require()s the binary as its first line — i.e. the downloaded addon's native code has already executed by the time any check runs. It is a functional smoke test, not an integrity gate, and it is skipped entirely when any npm_config_platform* env var is set (:120-122).

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

On <= 1.6.0: skip downloading entirely and build from source via the documented dev short-circuit (DEVELOPMENT_SKIP_GETTING_ASSET env var, or a .development file). 1.7.0 adds first-class --force-build / DOWNLOAD_FORCE_BUILD for the same effect. In all versions, never point a mirror variable (e.g. RE2_DOWNLOAD_MIRROR) at a host you do not fully control.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
install-artifact-from-githubnpm · osv:npm:install-artifact-from-github
  • Every version before 1.7.0

About install-artifact-from-github

Weekly downloads (npm)
6,145,070npm, 24 Nov 2026

This is the only vulnerability in install-artifact-from-github in our list.

References