Command Injection Affecting @wonderwhy-er/desktop-commander package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.23% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-WONDERWHYERDESKTOPCOMMANDER-13535095
  • published12 Oct 2025
  • disclosed8 Oct 2025
  • creditCrem

Introduced: 8 Oct 2025

NewCVE-2025-11490  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for @wonderwhy-er/desktop-commander.

Overview

@wonderwhy-er/desktop-commander is a MCP server for terminal operations and file editing

Affected versions of this package are vulnerable to Command Injection via the extractBaseCommand function. An attacker can execute arbitrary operating system commands by supplying crafted input that is processed by this function.

CVSS Base Scores

version 4.0
version 3.1