CVE-2026-59726: ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments
Published 2026-11-24 · Updated 2026-11-24 · Also known as GHSA-c4hm-4h84-2cf3
Summary
The ruflo MCP bridge allows unauthenticated remote code execution via exposed API endpoints in default Docker Compose deployments. System administrators must immediately firewall affected ports and rotate all stored API credentials.
Who is affected
Unauthenticated attackers on the network can access the /mcp endpoint to execute arbitrary terminal commands within the node container. This allows the exfiltration of environment-based API keys and the persistent poisoning of the AgentDB learning store, affecting any instance deployed with default network configurations.
Exploitability
With a CVSS base score of 10.0, the vulnerability is classified as critical due to the ease of remote, unauthenticated exploitation. While the EPSS score of 0.062 suggests a moderate probability of exploitation, there is no evidence of active exploitation documented in CISA KEV.
Remediation
- Upgrade to ruflo version 3.16.3 or later.
- Immediate firewalling of ports 3001 and 27017 for all exposed instances.
- Rotate all sensitive provider API keys including OpenAI, Google, OpenRouter, and Anthropic.
- Audit and purge the AgentDB pattern store and MongoDB for signs of tampering or poisoned entries.
How to check your project
- Check package.json or lock files for ruflo versions prior to 3.16.3.
- Verify if docker-compose.yml files bind ports 3001 or 27017 to public interfaces rather than loopback.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | ruflo |
>= 0, < 3.16.3 | 3.16.3 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Changed |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
Is a redeploy sufficient to fix the security issue?
No. While updating to version 3.16.3 closes the RCE vector, it does not remove existing data poisoning in the AgentDB or malicious persistence in MongoDB; these must be audited and cleaned manually.
What is the primary technical cause of the RCE?
The flaw stems from the lack of authentication on the /mcp endpoint and a failure to enforce the terminal_execute tool blocklist outside of the autopilot flow.
Does this vulnerability affect all deployments?
It affects deployments using the default docker-compose configuration, which binds the bridge and MongoDB services to all network interfaces.
Original advisory description
References
- WEB https://github.com/ruvnet/ruflo/security/advisories/GHSA-c4hm-4h84-2cf3
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-59726
- WEB https://github.com/ruvnet/ruflo/pull/2521
- WEB https://github.com/ruvnet/ruflo/commit/d00a0a40cd8bdbca877ac7f675f416bdc69accd1
- PACKAGE https://github.com/ruvnet/ruflo
- WEB https://github.com/ruvnet/ruflo/blob/main/v3/docs/adr/ADR-166-mcp-bridge-unauthenticated-rce-remediation.md
- WEB https://github.com/ruvnet/ruflo/releases/tag/v3.16.3
Source records: GHSA-c4hm-4h84-2cf3 (OSV.dev) · EPSS by FIRST, 2026-11-24.