A severe supply chain attack has compromised the popular Axios npm package, introducing malicious code that installs a Remote Access Trojan (RAT). This impacts systems using compromised versions of Axios and related packages like @usebruno/cli. Immediate action is required to mitigate the risk of remote access and data compromise. Patches are available.
This vulnerability has a CVSS score of 9.8, indicating a critical level of severity due to the potential for remote code execution and system compromise.
What is Axios?
Malicious Code in Axios (npm)
Critical - Remote code execution and potential full system compromise.
The npm package 'axios' was compromised, and a malicious dependency named 'plain-crypto-js' was added. This dependency installs a remote access trojan, granting attackers unauthorized access to affected systems.
How to fix GHSA-fw8c-xr5c-95f9 in Axios
Patch immediately- 1.Update the axios package to a safe version.
npm update axiosVerify with:
npm list axiosWorkaround: Rotate all secrets and keys stored on affected computers from a clean machine. Removing the package does not guarantee removal of all malicious software.
NextGuard automatically flags CVE-2026-34841 if Axios appears in any of your monitored projects — no manual lookup required.
Axios npm Supply Chain Incident Impacting @usebruno/cli
Critical - Remote code execution via RAT deployment.
A supply chain attack compromised versions of the axios npm package, introducing a hidden dependency that deploys a cross-platform Remote Access Trojan (RAT). This specifically impacted users of @usebruno/cli who installed packages within a specific timeframe.
How to fix CVE-2026-34841 in Axios
Patch immediately- 1.Update the axios package to a safe version.
npm update axiosVerify with:
npm list axiosWorkaround: There is no specific workaround beyond patching. Ensure all systems are patched as quickly as possible.
NextGuard automatically flags CVE-2026-34841 if Axios appears in any of your monitored projects — no manual lookup required.
Stay ahead of Node.js vulnerabilities
Proactively identify and address vulnerabilities in your Node.js projects with automated dependency scanning. monitor your nodejs dependencies to ensure your applications remain secure.
Compare Your DependenciesFrequently asked questions
This Axios supply chain attack highlights the importance of robust dependency management and proactive vulnerability monitoring. Regularly update your dependencies and consider using automated tools to identify and address potential risks. see all nodejs vulnerabilities.
Related topics