CVE-2025-58062 LSTM-Kirigaya's openmcp-client Vulnerable to RCE in MCP Authorization Flow
Attackers can execute arbitrary OS commands on Windows systems by tricking users into connecting to a malicious MCP server via this VSCode plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-58062?
CVE-2025-58062 is a high-severity command injection vulnerability in LSTM-Kirigaya openmcp-client, published on 28 Aug 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
LSTM-Kirigaya's openmcp-client is a vscode plugin for mcp developer. Prior to version 0.1.12, when users on a Windows platform connect to an attacker controlled MCP server, attackers could provision a malicious authorization server endpoint to silently achieve an OS command injection attack in the open() invocation, leading to client system compromise. This issue has been patched in version 0.1.12.
Weakness: CWE-78
Which versions are affected by CVE-2025-58062?
How do I fix CVE-2025-58062?
No fix has been published for CVE-2025-58062 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-58062 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58062 exists.
Sources
Also known as GHSA-43m4-p3rv-c4v8.