Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed MCP bridge port
-
DeliveryPOST tools/call to terminal_execute
-
ExploitCommand execution in bridge container
-
ExecutionRead provider API keys
-
PersistPoison AgentDB learning store
-
ImpactPersistent agent compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The specific prerequisite is that Ruflo is deployed via its default docker-compose configuration, which publishes the MCP bridge POST /mcp and POST /mcp/:group endpoints to the network without authentication; the exposed terminal_execute tool is the concrete feature abused. No credentials, privileges, or user interaction are required (AV:N/AC:L/PR:N/UI:N). The principal limiting factor is network reachability of the bridge port: exploitation requires the attacker to reach the published port, so deployments that bind the port to loopback only, isolate it on an internal Docker network, or firewall it are not remotely exploitable. Affected versions are all releases prior to 3.16.3. |
| Impact | All available signals point to genuine, high-priority risk rather than a paper-high CVSS. The CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (10.0) indicates network reachability, low complexity, no privileges, no user interaction, and a scope change with total confidentiality/integrity/availability impact - consistent with the description of an unauthenticated shell in the default configuration. The one caveat is that reachability depends on how the docker-compose port is published: if bound only to loopback on a hardened host the practical attack surface shrinks, but the advisory frames the default deployment itself as exposed, so defenders should assume network-reachable until they verify their port bindings. No EPSS score was provided, so exploitation-probability modeling is unavailable; no KEV listing and no POC were supplied, so this is not confirmed as actively exploited despite the maximal score. SSVC inputs were not provided, but the description implies automatable exploitation (a single crafted request) and total technical impact. |
| Exploit ScenarioDerived | An attacker scans for exposed Ruflo bridge ports and sends a single crafted JSON-RPC POST to /mcp invoking tools/call for terminal_execute with a shell command - no credentials or user interaction required. This yields command execution inside the bridge container, which the attacker uses to read provider API keys from the environment and to write malicious entries into the AgentDB learning store so future agent runs are subverted. No public POC was included in the source data, but the attack is trivial to reproduce from the advisory description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Unauthenticated remote code execution in Ruflo (an agent meta-harness for Claude Code and Codex) before 3.16.3 arises because the default docker-compose deployment exposes the MCP bridge's POST /mcp and POST /mcp/:group endpoints with no authentication. A network attacker can send a JSON-RPC tools/call to the terminal_execute tool to gain an interactive shell inside the bridge container, exfiltrate provider API keys, and tamper with AgentDB learning-store patterns. Rated CVSS 10.0 with a scope change; no public exploit identified at time of analysis, and it is not in CISA KEV.
RemediationAI
Vendor-released patch: 3.16.3 - upgrade Ruflo to v3.16.3 or later, which is the authoritative fix per the GitHub advisory GHSA-c4hm-4h84-2cf3 (see https://github.com/ruvnet/ruflo/releases/tag/v3.16.3 and PR https://github.com/ruvnet/ruflo/pull/2521). If you cannot upgrade immediately, do not publish the MCP bridge port to any network interface: edit the docker-compose port mapping to bind only to 127.0.0.1 (e.g. '127.0.0.1:PORT:PORT') or drop the host port publish entirely and reach the bridge over the internal Docker network, and place a firewall/security-group rule blocking external access to the bridge port - the trade-off is that any legitimate remote or cross-host agent access will also be cut and must be tunneled or proxied with authentication. Additionally, since terminal_execute can read provider API keys, rotate all provider API keys that were present in the bridge container and review AgentDB learning-store patterns for tampering, because a pre-upgrade exposure may have already leaked credentials or poisoned stored patterns.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ruflo brokers tool calls between AI coding agents (Claude Code, Codex) and a set of MCP (Model Context Protocol) servers via an HTTP 'bridge' container. The bridge accepts JSON-RPC POST requests at /mcp and /mcp/:group, and one of the exposed tools, terminal_execute, is designed to run shell commands on the harness's behalf. Because the shipped docker-compose file published these routes to the network without any auth layer (token, mTLS, or network isolation), the tool-invocation surface was reachable by anyone who could reach the port. The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command / OS Command Injection): the terminal_execute primitive passes attacker-controlled input to a shell, and the missing authentication turns an intended internal capability into a public command-execution endpoint.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Default docker-compose exposes an unauthenticated shell endpoint (AV:N/AC:L/PR:N/UI:N); container escape to provider keys and AgentDB justifies S:C with full C/I/A impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Ruflo is an agent meta-harness for Claude Code and Codex. Prior to 3.16.3, ruflo's default docker-compose deployment exposed the MCP bridge POST /mcp and POST /mcp/:group endpoints without authentication, allowing an unauthenticated network attacker to invoke tools/call to terminal_execute, obtain a shell in the bridge container, read provider API keys, and poison AgentDB learning-store patterns. This issue is fixed in version 3.16.3.
Articles & Coverage 1
Executive ViewAI
Ruflo, the agent meta-harness infrastructure for Claude Code deployments, contains an unauthenticated remote code execution vulnerability in versions before 3.16.3 that allows network attackers to gain shell access to production containers, exfiltrate provider API keys, and manipulate agent learning models. Organizations running default Ruflo deployments face immediate risk of complete infrastructure compromise and credential theft without authentication barriers.
No vendor-released patch identified at time of analysis. Interim mitigations: implement reverse proxy authentication layer in front of /mcp endpoints; network segmentation restricting bridge access to trusted internal networks only; disable JSON-RPC terminal_execute tool if not required for operations; enable container runtime monitoring and audit logging for shell access attempts; rotate all provider credentials; restrict inbound network access to bridge container IP:port; implement rate limiting on POST endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-42656
GHSA-c4hm-4h84-2cf3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB
VulDB