CVE-2026-128115: claw-code 0.1.11 through 0.1.16 - command execution through untrusted workspace MCP configuration
claw-code versions 0.1.11 through 0.1.16 load stdio MCP server definitions from project-controlled configuration files and start their configured commands during startup tool discovery. A repository can therefore cause a program to execute with the privileges of a user who runs claw-code from that repository, without a workspace-trust decision.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Reject project-scoped stdio MCP servers by default, or require explicit persisted workspace trust before launching them.
claw-code project-scoped stdio MCP server policy = reject by default or require explicit persisted workspace trust
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users running affected claw-code versions from a repository they do not fully trust are exposed. A project-controlled configuration can cause commands to run with the privileges of the user who starts claw-code.
What must an attacker provide to trigger execution?
The attacker must control or influence a repository's workspace MCP configuration so it contains a stdio MCP server definition with a configured command. When claw-code starts from that repository, it loads the definition and starts the command during startup tool discovery.
Does exploitation require a workspace-trust approval?
No. The affected versions load and start configured stdio MCP server commands without a workspace-trust decision.
How can I determine whether I may be affected?
Check whether you use claw-code version 0.1.11 through 0.1.16 and run it in repositories containing project-controlled MCP configuration. Review those configurations for stdio MCP server definitions and their configured commands.