Skip to main content

install-artifact-from-github CVE-2026-73864

| EUVDEUVD-2026-129149 HIGH
Download of Code Without Integrity Check (CWE-494)
2026-11-18 GitHub_M GHSA-88q3-gch3-5396
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Control mirror env var or network path
  2. Delivery
    Serve malicious .node artifact
  3. Exploit
    Bytes written verbatim, no integrity check
  4. Execution
    Consumer require()-loads native addon
  5. Impact
    Arbitrary code executes on install host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Code integrity verification
Exploitation Conditions

Exploitation requires ONE attacker position: (1) control of the mirror selector env var (install-artifact-from-github reads mirrorHost / process.env[mirrorEnvVar], e.g. RE2_DOWNLOAD_MIRROR passed via --host-var - settable through CI config, .npmrc/env passthrough, a compromised CI job, or a poisoned shell profile, with no host pinning); (2) write access to swap a GitHub release asset or a compromised maintainer account (no checksum detects a swapped asset even over HTTPS on <=1.6.0); or (3) an on-path position where a plaintext http:// mirror or an https-to-http redirect downgrade is in play (redirects are followed with no scheme pinning or redirect cap). It also requires the victim to install a consuming package built on the helper (<=1.6.0) and for the artifact to be loaded (UI:R). Limiting factors: against a default, unmodified HTTPS github.com download the attacker must still achieve mirror control, release write access, or network interception - it is not exploitable against arbitrary installs without one of these. Mitigations per vendor: on <=1.6.0 build from source via DEVELOPMENT_SKIP_GETTING_ASSET or a .development file and never point a mirror variable at an untrusted host; 1.7.0 adds --force-build / DOWNLOAD_FORCE_BUILD and SHA-256 verification, but only for default-github-source downloads when the consuming package publishes an artifactHashes bag.

Impact

Raw severity is upper-medium/high (CVSS 7.5, C:H/I:H/A:H reflecting full native-code execution on the install host), but the signals pull toward targeted rather than mass risk. The vector itself tempers it: AC:H and UI:R mean the attacker needs both a privileged position and a victim action (an install that loads the artifact). There is no CISA KEV listing (not confirmed actively exploited) and no EPSS score was supplied, so exploitation probability cannot be quantified from the input. The GHSA advisory includes a public, non-malicious PoC that proves the core defect (attacker-served bytes are written verbatim to build/Release/re2.node with no checksum/signature), but the authors explicitly withheld the weaponized code-execution harness - so this is a demonstrated integrity-bypass primitive, not confirmed in-the-wild RCE. The vuln.today decision label is this_week (prioritize within the week), not act_now/emergency, which is consistent with a real supply-chain integrity flaw that nonetheless requires an attacker precondition (control of a mirror env var, a tampered GitHub release/compromised maintainer account, or an on-path position on a plaintext/downgraded path). Note the input Tags label this 'Information Disclosure,' which contradicts the CWE-494 and the C:H/I:H/A:H impact - the real outcome is arbitrary code execution, not disclosure; treat the tag as mislabeled. Net: a genuine priority for anyone shipping or consuming the affected helper, but it is precondition-gated and best characterized as targeted rather than broadly automatable.

Exploit ScenarioDerived

A developer or CI pipeline installs a native npm package (e.g. node-re2) that uses install-artifact-from-github <= 1.6.0 to fetch a prebuilt .node addon. An attacker who has set or compromised the RE2_DOWNLOAD_MIRROR variable, swapped a GitHub release asset, or sits on the network path of a plaintext/https-to-http-downgraded download serves a malicious addon, which is written without any integrity check and executes its native module-init code when require()-loaded. A public PoC in the advisory demonstrates the verbatim-write primitive; AC:H/UI:R mean the attacker needs that position plus a victim install.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) 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 18, 2026

Native-code execution at install time is achievable against npm consumers of install-artifact-from-github through 1.6.0 because bin/install-from-cache.js writes a downloaded .node addon to the artifact path and it is subsequently require()-loaded with no cryptographic integrity check anywhere in the flow. An attacker needs only one position: control of the mirror-selection environment variable (for node-re2, RE2_DOWNLOAD_MIRROR, passed via --host-var with no host pinning), write access to swap a GitHub release asset or a compromised maintainer account, or a network position where a plaintext http:// mirror or an https-to-http redirect downgrade is followed silently. The vendor advisory includes a PoC (poc.js) that stands up a plaintext HTTP mirror and demonstrates the served bytes land verbatim at build/Release/re2.node; it is a reference proving the missing-integrity property, and the accompanying note about a separate code-execution harness is not independently verified as working exploit code, with no KEV listing and no EPSS score supplied. Severity is rated 7.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H), reflecting full confidentiality, integrity and availability impact once a substituted addon executes, tempered by the attacker-position and user-install prerequisites.

RemediationAI

Upgrade install-artifact-from-github to 1.7.0 (release notes and advisory: https://github.com/uhop/install-artifact-from-github/releases/tag/1.7.0, https://github.com/uhop/install-artifact-from-github/security/advisories/GHSA-88q3-gch3-5396), and additionally ensure the consuming package publishes an artifactHashes bag - node-re2 >= 1.26.0 does - because 1.7.0's SHA-256 verification activates only for default-github-source downloads when that bag is present; configured mirrors stay outside verification and must be treated as trusted infrastructure. On 1.6.0 and earlier the vendor-documented workaround is to skip the download entirely and compile from source using the DEVELOPMENT_SKIP_GETTING_ASSET environment variable or a .development file, and 1.7.0 adds first-class --force-build / DOWNLOAD_FORCE_BUILD for the same effect; the trade-off is slower installs that require a local toolchain. The vendor also states that in all versions a mirror variable such as RE2_DOWNLOAD_MIRROR must never point at a host you do not fully control, and the advisory documents that verify-build/npm test run after the artifact is written and loaded and therefore cannot gate integrity.

Affected VersionsENISA

install-artifact-from-github < 1.7.0

Affected Packages

npm install-artifact-from-github fix: 1.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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

Technical ContextAI · show details

install-artifact-from-github is an npm install-time helper that fetches prebuilt native artifacts from GitHub releases instead of compiling locally; the artifacts are Node.js native addons (*.node), which are dynamically loaded and whose NODE_MODULE/NAPI module-init code runs as native code in the installing process the moment a consumer require()s the file. The root cause is CWE-494 (Download of Code Without Integrity Check): the script supports plain http:// as well as https://, re-derives the protocol from each redirect target so an https-to-http downgrade is followed without warning, applies no scheme pinning or redirect cap, and writes the raw decompressed HTTP response body straight to disk via a bare fsp.writeFile with no checksum manifest, signature or SRI comparison. The mirror is fully steerable through an environment variable (bin/install-from-cache.js resolves mirrorHost || process.env[mirrorEnvVar] || 'https://github.com'), and consumers such as node-re2 wire that to RE2_DOWNLOAD_MIRROR, so CI configuration, .npmrc/env passthrough or a poisoned shell profile can redirect the entire download to an arbitrary host. The optional verify-build/npm test step runs only after the file is already written and, for re2, its verify-build script require()s the binary - so native code has executed before any check, and the check is skipped entirely when npm_config_platform* variables are set. Version 1.7.0 introduces a hash-bag model: the consuming package publishes an artifactHashes map (slot to sha256 of the decompressed binary) in its own package.json, stamped at publish time by the new hash-github-cache --write bin, and install-from-cache verifies the decompressed download before writing, falling back to a source build on mismatch or missing slot. That verification is scoped to the default github.com source only; an explicitly configured mirror (--host or mirror env var) remains trust-the-mirror by design, and packages that ship no artifactHashes bag behave exactly as before.

Know when npm 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 (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Attacker must hold a mirror/release/on-path position (AC:H) and the victim must install and load the artifact (UI:R); no target authentication is needed (PR:N) and native execution gives full C/I/A:H.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 20:03 EUVD
CVE Published
Nov 18, 2026 - 18:57 cve.org
HIGH 7.5

DescriptionCVE.org

install-artifact-from-github installs prebuilt native artifacts hosted by GitHub without compiling them locally. Prior to 1.7.0, bin/install-from-cache.js downloads a native .node artifact, allows RE2_DOWNLOAD_MIRROR to select a source, follows HTTP redirects including HTTPS-to-HTTP downgrades, and writes the decompressed response to the artifact path without cryptographic integrity verification before writing or loading it. An attacker who controls a configured mirror, replaces a release asset, or can modify plaintext transport can supply native code that executes when the consumer loads the artifact. Version 1.7.0 adds SHA-256 verification for default-GitHub-source downloads when the consuming package publishes an artifactHashes bag; configured mirrors and packages without a bag remain outside that verification.

Technical POC Analysis

CWE-494 (Download of Code Without Integrity Check) in install-artifact-from-github's install-time fetcher, bin/install-from-cache.js (v1.6.0).

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

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-73864 allows native code execution on developer and build systems that use the npm package install-artifact-from-github (up to 1.6.0) to fetch prebuilt binaries, because downloaded addons are loaded without integrity verification. Any organization with CI/CD pipelines or engineering workstations that install this dependency could be compromised through a poisoned mirror or network position, potentially leading to supply-chain intrusions that impact product integrity and customer trust.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include enforcing HTTPS with strict host pinning for mirror URLs, disabling automatic downloads of native addons in favor of pre-verified local builds, implementing checksum validation for all fetched binaries, and restricting network egress from build environments to known-good artifact repositories.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche npm install-time build helper, narrow set of consuming native packages
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 Yes
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

More in npm

View all
CVE-2021-43616 CRITICAL POC
9.8 Nov 13

The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in pack

CVE-2026-61568 CRITICAL POC
9.6 Sep 15

DNS rebinding against the local Streamable HTTP MCP listener in @zereight/mcp-gitlab before 2.1.30 lets a malicious web

CVE-2026-101894 CRITICAL POC
9.1 Sep 28

Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to reso

CVE-2026-91127 HIGH POC
8.2 Sep 18

The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character e

CVE-2026-102826 HIGH POC
8.1 Sep 29

Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command

CVE-2026-102281 HIGH POC
7.5 Sep 28

A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras

CVE-2026-102278 HIGH POC
7.5 Sep 28

Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a

CVE-2026-102276 HIGH POC
7.5 Sep 28

Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a craf

CVE-2026-116580 HIGH POC
7.3 Oct 26

Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and

CVE-2026-101910 MEDIUM POC
6.9 Sep 28

The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat

CVE-2026-101912 MEDIUM POC
6.3 Sep 28

Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo

CVE-2026-101911 MEDIUM POC
6.3 Sep 28

Denial of service in the ip-address JavaScript/npm library (all versions prior to 10.7.1) lets remote attackers stall or

Vendor StatusVendor

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