Skip to main content

Ruflo CVE-2026-59726

| EUVDEUVD-2026-42656 CRITICAL
OS Command Injection (CWE-78)
2026-07-09 security-advisories@github.com GHSA-c4hm-4h84-2cf3
10.0
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed MCP bridge port
  2. Delivery
    POST tools/call to terminal_execute
  3. Exploit
    Command execution in bridge container
  4. Execution
    Read provider API keys
  5. Persist
    Poison AgentDB learning store
  6. Impact
    Persistent 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ruflo < 3.16.3

Affected Packages

npm ruflo fix: 3.16.3

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

Vendor (github) PRIMARY 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 10.0 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jul 09, 2026 - 19:01 EUVD
CVE Published
Jul 09, 2026 - 18:16 cve.org
CRITICAL 10.0

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche open-source AI agent harness, limited production footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) CIRCL Exploit-DB GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy