CVE-2026–10691: How a Sneaky Regex Bug Could Crash Your AI Desk
A regular expression in the search function of DesktopCommanderMCP was written with catastrophic backtracking, so a crafted search input could make the server consume all CPU and stop responding. An authenticated remote attacker could therefore cause a denial of service against the tool.
Published on medium.com
If you use DesktopCommanderMCP — a popular open-source tool that lets AI assistants like Claude control your desktop — there’s a security vulnerability you need to know about. It goes by the identifier CVE-2026–10691, and while it won’t let an attacker steal your data, it can be used to make the tool stop responding…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The regex pattern in the search manager exhibits catastrophic backtracking on certain inputs, blocking the Node.js event loop.
Impact
An authenticated remote attacker could make the MCP server unresponsive by exhausting CPU, causing a denial of service; no data was leaked and no code execution was possible.
What the attacker needed
Valid account/login; remote network access
The fix
The issue was fixed in version 0.2.39, and users should upgrade to that version or later.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
DesktopCommanderMCP is a tool that lets an AI assistant run commands and search files on your computer. A regular expression is a pattern used to find text, and a badly written one can take an enormous amount of time on certain inputs. Here, a crafted search request made the tool freeze and stop working for everyone using it.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.