Impact
The vulnerability resides in the start_search component of DesktopCommanderMCP’s search-manager.ts module. An attacker can supply a crafted SearchResult[] argument that triggers a regular expression with inefficient complexity, leading to excessive CPU and memory use. The effect is a denial of service that can bring the application or its services down by exhausting resources. The weakness is identified as a regular expression denial of service (CWE-1333) and a lack of resource limits (CWE-400).
Affected Systems
It affects wonderwhy-er DesktopCommanderMCP versions up to and including 0.2.38. The fix is available in v0.2.39, which includes the patch commit 4ce845f8749b6a159b57b38dcc3357f7222a8078.
Risk and Exploitability
The system has a CVSS score of 5.3, indicating moderate severity. EPSS information is not available, and the vulnerability is not listed in CISA’s KEV catalog. Because the exploit is public and can be triggered remotely by influencing the SearchResult[] input, the risk is real. An attacker can target the application over the network, potentially disrupting service for all users. The risk is mitigated only by applying the stated upgrade or by limiting access to the vulnerable function until the patch is applied.
OpenCVE Enrichment