CVE-2026-10691: @wonderwhy er/desktop commander Remote Code Execution Vulnerability

LOW
Advisory Identifier: GHSA-r87g-78mx-3wg4
CVSS 4.3
CWE-400
Published
Advisory Summary

CVE-2026-10691 is a LOW (CVSS 4.3) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting @wonderwhy er/desktop commander libraries in the npm ecosystem. The issue involves desktopcommandermcp is vulnerable to uncontrolled resource consumption. Remediation is available by upgrading affected packages to version 0.2.39.

CVE-2026-10691 at a Glance

CVE Identifier CVE-2026-10691
GHSA Identifier GHSA-r87g-78mx-3wg4
Severity LOW
CVSS v3.1 Base Score 4.3
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product @wonderwhy er/desktop commander
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-10691

To remediate this vulnerability, upgrade all affected @wonderwhy er/desktop commander dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@wonderwhy-er/desktop-commander fixed: 0.2.39
npm install @wonderwhy-er/desktop-commander@0.2.39
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @wonderwhy-er/desktop-commander

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-10691, inspect your project dependencies using npm:

npm ls @wonderwhy-er/desktop-commander

Analyze the terminal output to locate any version of @wonderwhy er/desktop commander in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.39), your application is affected.

Note: The npm ls @wonderwhy-er/desktop-commander command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In @wonderwhy er/desktop commander, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A security flaw has been discovered in wonderwhy-er DesktopCommanderMCP up to 0.2.38. This impacts an unknown function of the file src/search-manager.ts of the component start_search. Performing a manipulation of the argument SearchResult[] results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.2.39 will fix this issue. The patch is named 4ce845f8749b6a159b57b38dcc3357f7222a8078. It is suggested to upgrade the affected component.

CVE-2026-10691 Affected @wonderwhy er/desktop commander Versions

1 component(s)
Fixed Versions:
0.2.39
Product / Package Ecosystem Affected Versions Fixed Version
@wonderwhy-er/desktop-commander
npm
< 0.2.39
0.2.39

References

Frequently Asked Questions

What is CVE-2026-10691?
CVE-2026-10691 is a security vulnerability in @wonderwhy er/desktop commander involving DesktopCommanderMCP is vulnerable to Uncontrolled Resource Consumption under CWE-400: Uncontrolled Resource Consumption.
Which @wonderwhy er/desktop commander versions are affected?
Affected versions include releases prior to 0.2.39 across affected packages: @wonderwhy-er/desktop-commander.
What version fixes CVE-2026-10691?
Upgrading to 0.2.39 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @wonderwhy-er/desktop-commander affected?
Yes, @wonderwhy-er/desktop-commander is affected in releases prior to 0.2.39. Upgrade your dependency to 0.2.39 or later.
What is the CVSS score of CVE-2026-10691?
CVE-2026-10691 has a CVSS v3.1 base score of 4.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-10691?
CVE-2026-10691 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check npm dependencies for CVE-2026-10691?
Run the dependency tree command: 'npm ls @wonderwhy-er/desktop-commander'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r87g-78mx-3wg4",
  "modified" : "2026-07-10T17:15:12Z",
  "published" : "2026-06-03T00:30:27Z",
  "aliases" : [ "CVE-2026-10691" ],
  "summary" : "DesktopCommanderMCP is vulnerable to Uncontrolled Resource Consumption",
  "details" : "A security flaw has been discovered in wonderwhy-er DesktopCommanderMCP up to 0.2.38. This impacts an unknown function of the file src/search-manager.ts of the component start_search. Performing a manipulation of the argument SearchResult[] results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.2.39 will fix this issue. The patch is named 4ce845f8749b6a159b57b38dcc3357f7222a8078. It is suggested to upgrade the affected component.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@wonderwhy-er/desktop-commander"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.39"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10691"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/375"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wonderwhy-er/DesktopCommanderMCP/pull/400"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wonderwhy-er/DesktopCommanderMCP/commit/4ce845f8749b6a159b57b38dcc3357f7222a8078"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wonderwhy-er/DesktopCommanderMCP"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wonderwhy-er/DesktopCommanderMCP/releases/tag/v0.2.39"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/cve/CVE-2026-10691"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/830746"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/367960"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/367960/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-10T17:15:12Z",
    "nvd_published_at" : "2026-06-03T00:16:30Z"
  }
}