CVE-2026-5327: fast-filesystem-mcp Command Injection Vulnerability

fast-filesystem-mcp Updated 04 Apr 2026

Summary

02/04/2026
No i
Low
6.3

CVE-2026-5327: fast-filesystem-mcp is vulnerable to command injection through handleGetDiskUsage function. Affects fast-filesystem-mcp versions < 3.5.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

fast-filesystem-mcp is an npm package designed to facilitate efficient disk usage management in Node.js applications. It provides functionalities to retrieve and manage disk usage statistics. However, versions up to 3.5.1 are vulnerable to a command injection flaw, which can be exploited remotely, potentially compromising the security of applications utilizing this package.

Vulnerability Detail

The vulnerability arises from the handleGetDiskUsage function located in src/index.ts of the fast-filesystem-mcp package. An attacker can manipulate input to execute arbitrary commands on the server, leading to unauthorized access or data manipulation. This flaw is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), and it poses a significant risk as it can be exploited remotely, allowing attackers to execute commands without authentication.

How To Fix

No fixed version is published for this vulnerability.

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 restrict access to the handleGetDiskUsage function by implementing input validation and sanitization to prevent malicious input from being processed. However, this is not a complete solution and updating the package is strongly recommended.

Conclusion

The fast-filesystem-mcp package has a critical command injection vulnerability that can be exploited remotely. It is essential to update to the latest version to protect your applications from potential attacks. Implementing workarounds can provide temporary relief, but updating is the best long-term solution.

See every vulnerability recorded for fast-filesystem-mcp →

Share this vulnerability

FAQ

The vulnerability is a command injection flaw that allows attackers to execute arbitrary commands on the server.

Versions up to 3.5.0 of fast-filesystem-mcp are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 6.3, indicating a moderate level of risk.

If immediate updating is not possible, implement input validation and sanitization as a temporary workaround to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for fast-filesystem-mcp.

How To Fix

No fixed version is published for this vulnerability.

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