CVE-2026-48160: Malicious postinstall RCE in react-tracked repository checkout
CVE-2026-48160 is a supply-chain compromise affecting the react-tracked source repository rather than the published npm package. Malicious commits were briefly present on the default branch between 2026-05-18 19:26:36 and 2026-05-19 15:22:45. Those commits added an install-time script and wired it into the package postinstall lifecycle so that running npm install against an affected checkout executed attacker-controlled code on developer machines. The implanted logic retrieved a second-stage JavaScript payload from an attacker-controlled HTTPS source, disabled TLS certificate verification, and evaluated the returned code with access to require, enabling arbitrary Node.js execution in the context of the installing user. The logic intentionally avoided execution in CI and cloud or serverless environments, indicating selective targeting of developer workstations. Although the malicious commits were later removed from the default branch by force-push and were never published to the npm registry, affected local clones, forks, and direct revision references can still contain the implant and remain dangerous.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in arbitrary remote code execution during dependency installation on a developer workstation. Because the second-stage payload was attacker-hosted and is unavailable, the full scope of post-exploitation cannot be reconstructed; impacted systems should be treated as fully compromised within the permissions and reach of the Node.js process and user account. Likely consequences include theft of developer credentials, source code access, tampering with local development environments, persistence, access to reachable secrets and tokens, and potential downstream compromise of repositories, build systems, or other services accessible from the workstation.
Mitigation
If you can’t patch tonight, do this now.
Avoid running npm install from untrusted or unverified source checkouts, including forks and direct revision references. Restrict or disable install-time lifecycle scripts where operationally feasible, and require review of package manifest changes that introduce or modify postinstall behavior. Use reproducible, vetted source snapshots and enforce provenance controls for dependencies obtained directly from source repositories. Monitor developer environments for unexpected outbound network activity during package installation and for suspicious use of Node.js lifecycle hooks. Segregating developer credentials, minimizing workstation privilege, and limiting secret availability on development hosts can reduce blast radius, but systems that already executed the malicious install script should still be considered compromised.
Remediation
Patch, then assume compromise.
Remove all affected repository checkouts, forks, and cached copies containing the malicious commits, and replace them with a known-clean version of the repository. Any machine that executed npm install against an affected checkout on or after 2026-05-18 19:26:36 should be treated as compromised and rebuilt or otherwise remediated according to incident response procedures. Rotate every credential, token, key, and session secret that was accessible from the affected machine, including developer, repository, cloud, CI, package publishing, and SSH credentials as applicable. Audit account and repository activity beginning 2026-05-18 19:26:36 for unauthorized access or changes. Verify dependency sources and pin to trusted clean revisions before reinstalling.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-48160 exploited in the wild?
- Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-48160?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-48160.
- Is there a patch for CVE-2026-48160?
- Remove all affected repository checkouts, forks, and cached copies containing the malicious commits, and replace them with a known-clean version of the repository. Any machine that executed npm install against an affected checkout on or after 2026-05-18 19:26:36 should be treated as compromised and rebuilt or otherwise remediated according to incident response procedures.
- How severe is CVE-2026-48160?
- CVE-2026-48160 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 0.67% (47th percentile) as of Sep 25, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.