Malicious Code Vulnerability in cloudflared-x64 Package
Summary
MAL-2025-6406: Malicious code in cloudflared-x64 (npm). Affects cloudflared-x64 versions 1.0.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The cloudflared-x64 package is a Node.js library that serves as a client for Cloudflare's Argo Tunnel, enabling secure access to applications without exposing them to the public internet. This package is widely used for its ability to simplify the deployment of secure tunnels, but it has recently been identified as containing malicious code that can compromise user systems.
Vulnerability Detail
The vulnerability identified as MAL-2025-6406 originates from a malicious version of the cloudflared-x64 package (version 1.0.0). This version has been found to contain harmful code that can lead to unauthorized access, data breaches, and potential system compromise. The malicious code can execute arbitrary commands on the user's machine, posing significant risks to both individual users and organizations utilizing this package in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cloudflared-x64
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can avoid using the cloudflared-x64 package until a secure version is confirmed. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The cloudflared-x64 package has been identified as containing malicious code that poses significant risks to users. It is essential to take immediate action to remove the affected version and update to a secure version. Utilizing tools like Vulert can help monitor for vulnerabilities in real-time, ensuring the safety of your applications.
See every vulnerability recorded for cloudflared-x64 →
FAQ
The malicious code can execute arbitrary commands on the user's system, leading to potential data breaches and unauthorized access.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring access to the code or installation.
If you have installed version 1.0.0 of cloudflared-x64, it is crucial to uninstall it immediately and update to a secure version.
Yes, the malicious code can be exploited to gain unauthorized access to systems, potentially leading to data loss or theft.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and keep your packages updated to the latest secure versions.