claw-code runs project-defined stdio MCP commands at startup without a workspace-trust decision
Summary
Per the GitHub advisory GHSA-wjhv-vvm2-cxv5 and a Fluid Attacks advisory, claw-code 0.1.11 through 0.1.16 loads MCP server definitions from project configuration files and starts the configured stdio commands during startup tool discovery. A repository can therefore cause a program to run with the privileges of the user who runs claw-code from it, without a workspace-trust decision. Fluid Attacks scores it 8.4 on CVSS v4.0 and says its advisory includes a proof of concept.
Severity
Timeline
Fluid Attacks lists the public release date of its advisory for claw-code 0.1.11 through 0.1.16.
GitHub advisory GHSA-wjhv-vvm2-cxv5 for CVE-2026-128115 is published.
How it happened
claw-code reads mcpServers definitions from .claw.json and .claw/settings.json in the working directory. When a configured server uses the stdio transport, startup tool discovery launches its command. This happens before the CLI validates provider credentials or sends a prompt. The config loader strips hooks from project configuration, but does not apply the same restriction to MCP server entries. The launched process runs with the privileges of the user who ran claw.
How to check your app
- 0.1.11 to 0.1.16: Check the claw-code version in use with claw --version.
- 0.1.11 to 0.1.16: Look in .claw.json and .claw/settings.json of repositories you run claw from for mcpServers entries that use the stdio transport and name a command you do not recognise.
Sources
Corrections and updates
Cite this entry
- Title
- claw-code runs project-defined stdio MCP commands at startup without a workspace-trust decision
- Added
- Dec 1, 2026
- URL
- https://vibeincidents.com/incidents/claw-code-cve-2026-128115/
- Suggested citation
VibeIncidents. "claw-code runs project-defined stdio MCP commands at startup without a workspace-trust decision." Dec 1, 2026. https://vibeincidents.com/incidents/claw-code-cve-2026-128115/