Skip to content

An editorial team and a community building with AI

← All articles

News · ultraworkers / claw-code (open-source project) · 2 min read

Event date: · Published:

claw-code coding agent CLI executes untrusted repo commands via MCP config

CVE-2026-128115 shows claw-code, an open-source Claude API coding agent CLI, runs MCP server commands from a repository's own config file with no trust prompt, affecting versions 0.1.11 through 0.1.16.

CVE.org published the CVE-2026-128115 record on CVE.org on December 1, 2026, describing a vulnerability in claw-code, an open-source coding-agent command-line tool built on the Claude API and maintained by ultraworkers. The flaw lets claw-code load and run stdio MCP server commands straight from a repository's own configuration file during startup tool discovery, so simply running the CLI against a malicious repository executes attacker-chosen commands with the user's own privileges.

What the vulnerability involves

  • CVE-2026-128115 affects claw-code versions 0.1.11 through 0.1.16, on Windows, macOS, and Linux.
  • The issue is classified as CWE-829, inclusion of functionality from an untrusted control sphere.
  • It carries a CVSS 4.0 score of 8.4, rated High.
  • No workspace-trust gate exists before claw-code executes MCP server commands defined in a repository's own config file.
  • The affected code sits in rust/crates/runtime/src/config.rs and rust/crates/runtime/src/mcp_stdio.rs.
  • No GitHub-hosted security advisory exists for the repository; the CVE was issued through an external CNA, Fluid Attacks.

What it means for people building with AI

The bug sits at a trust boundary that agentic coding tools depend on: pulling down a repository and pointing an AI agent at it is a routine first step, not something developers expect to treat as risky. Because claw-code executes MCP server commands from the repository's own config with no prompt or trust check, a hostile repository can run arbitrary commands with the same privileges as the person running the agent. For teams adopting agentic CLIs, that is exactly the kind of silent failure that matters most, since the tool is trusted to read code, not to execute whatever a repo tells it to.

Disclosure timeline

The vulnerability was found on November 4, 2026, the vendor was notified on November 13, 2026, and the issue was publicly disclosed on December 1, 2026.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

claw-code coding agent CLI executes untrusted repo commands via MCP config | vibecoding.inc