Malicious Code Vulnerability in cloudflared-x64 Package

cloudflared-x64 Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6406: Malicious code in cloudflared-x64 (npm). Affects cloudflared-x64 versions 1.0.0. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback