Unauthenticated remote code execution in the ruflo MCP bridge default docker-compose deployment
In ruflo below 3.16.3, the MCP bridge shipped in ruflo/docker-compose.yml exposed POST /mcp with no authentication, and the docker-compose defaults bound the bridge and MongoDB to all interfaces. An unauthenticated network attacker could call tools/call for terminal_execute inside the bridge container and get a shell as the node user. From there the attacker could read every provider API key held in the container environment, start attacker-controlled swarms on the victim's keys, and write a poisoned pattern into the AgentDB learning store that steers later AI outputs for every user of the instance. The tool blocklist that names terminal_execute was enforced only in the autopilot flow; POST /mcp and POST /mcp/:group bypassed it. The fix in 3.16.3 binds loopback by default and fails closed on a public bind without an auth token, adds bearer token checks, gates terminal_execute behind an opt-in setting, turns MongoDB authentication on by default, and makes the container read-only. The advisory also tells operators of any exposed instance to firewall the bridge and MongoDB ports, rotate their provider keys, and audit the AgentDB pattern store and MongoDB, because a patched redeploy alone does not undo poisoning already done. CVE-2026-59726 is assigned.
- Affected artifact
- ruvnet/ruflo — MCP bridge (docker-compose.yml deployment)mcp server
- Affected versions
- ruflo ≥ 0 to < 3.16.3
- Fixed in
- 3.16.3
- Last verified
- 2026-12-04
- Upstream aliases
- GHSA-c4hm-4h84-2cf3CVE-2026-59726
Severity
CVSS 4.0 score 10 (Critical), scored by HOL.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
What this means
GHSA-c4hm-4h84-2cf3 / CVE-2026-59726: in ruflo, the MCP bridge in the default docker-compose deployment took no authentication and was bound to all interfaces, so any network attacker could run terminal_execute and get a shell in the container. Fixed in 3.16.3; upgrade from below 3.16.3, rotate provider keys, and audit the pattern store if an instance was exposed.
What to do
Upgrade ruflo to 3.16.3 or later. Anyone who ran an exposed instance should firewall the bridge and MongoDB ports, rotate the OpenAI, Google, OpenRouter and Anthropic keys held by the instance, and audit the AgentDB pattern store and MongoDB for entries they did not put there, as the advisory directs.
Evidence
Precondition. Network reachability to a ruflo instance deployed with the default docker-compose file, which binds the MCP bridge to all interfaces.
Source proof. Per the advisory, an unauthenticated network attacker could invoke tools/call for terminal_execute through POST /mcp inside the bridge container and obtain a shell as the node user. HOL did not run the deployment; this rests on the advisory.
Version determination. Determined by range — The advisory states ruflo below 3.16.3 is affected, patched in 3.16.3.
Disclosure
Disclosure state: independent public · Publisher: ruvnet/ruflo
Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.
Vendor response: fixed — Fix published in 3.16.3.
2026-07-01 · vendor action
Maintainers published advisory GHSA-c4hm-4h84-2cf3 with the fix in 3.16.3.
2026-12-04 · guard update
Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 3.16.3, CVE-2026-59726 assigned.
2026-12-04 · guard update
Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 3.16.3, CVE-2026-59726 assigned.
2026-12-04 · disclosure
Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 3.16.3, CVE-2026-59726 assigned.
Affected artifact references
Cite this record
[HOL-VULN-2026-0021] Unauthenticated remote code execution in the ruflo MCP bridge default docker-compose deployment — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0021
Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0021
Found an error in this record, or want to appeal it? Report an issue or appeal.
Appeal or correct this record
Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.