Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl mirror env var or network path
-
DeliveryServe malicious .node artifact
-
ExploitBytes written verbatim, no integrity check
-
ExecutionConsumer require()-loads native addon
-
ImpactArbitrary 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
DNS rebinding against the local Streamable HTTP MCP listener in @zereight/mcp-gitlab before 2.1.30 lets a malicious web
Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to reso
The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character e
Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command
A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras
Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a
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
Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and
The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat
Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo
Denial of service in the ip-address JavaScript/npm library (all versions prior to 10.7.1) lets remote attackers stall or
EUVD-2026-129149
GHSA-88q3-gch3-5396
NVD
CVE.org
EPSS
Exploit-DB