Skip to content
MediumNewsLLM-specific

Ruflo MCP Flaw Lets Unauthenticated Attackers Run Commands and Poison AI Memory

Published
Record updated
View JSON

Summary

Researchers at Noma Labs disclosed CVE-2026-59726 (CVSS 10.0), dubbed RufRoot, in Ruflo, an open-source agent meta-harness for Claude Code and Codex, affecting all versions before 3.16.3. The default docker-compose.yml binds port 3001 to 0.0.0.0, exposing an unauthenticated MCP bridge that exposes 233 tools, including terminal_execute. A single unauthenticated POST to /mcp allows remote code execution, enabling theft of LLM provider API keys, reading of stored conversations, and poisoning of AgentDB memory.

Mitigation

Fixed in version 3.16.3. The patch binds the MCP bridge to the loopback interface by default, gates terminal_execute behind server-side executeTool controls, and enables MongoDB authentication. Operators with exposed instances are advised to close firewall ports 3001 and 27017, rotate all LLM API keys, audit the AgentDB pattern store for injected agentdb_pattern-store entries, and check MongoDB for tampering.