CVE-2026-59726
Critical 10.0 P4 · Monitor (29/100)ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments
Confirmed facts from the sources
- CVSS
- 10.0 (Critical) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Scored by github - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 6.24 % · percentile 94.3 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- Docker and containerd
Description (source)
The MCP bridge shipping in ruflo/docker-compose.yml exposed POST /mcp with no authentication. The docker-compose defaults bound the bridge and MongoDB to all interfaces. Combined, an unauthenticated network attacker could invoke tools/call → terminal_execute inside the bridge container, obtain a shell as node (uid 1000), read every provider API key from the container env, spawn attacker-controlled swarms on the victim's keys, and persist a poisoned pattern into the AgentDB learning store that steers future AI outputs for all users of the instance. The tool blocklist that mentions terminal_execute was enforced only in the autopilot flow. POST /mcp and POST /mcp/:group bypassed it. Fixed in ADR-166 Phase 1-3 (branch security/adr-166-mcp-bridge-rce, PR #2521): - Bind loopback by default; fail-closed on public-bind opt-in without MCP_AUTH_TOKEN - Bearer auth middleware (timingSafeEqual constant-time compare) - Server-side executeTool gate for terminal_execute (MCP_ENABLE_TERMINAL=true opt-in) - MongoDB --auth on by default; MONGO_INITDB_ROOT_PASSWORD required to boot - read_only container + tmpfs - CORS allowlist wiring - CI regression locks (static + runtime + compose defaults) Operators of any exposed instance MUST: 1. Firewall :3001 and :27017 immediately 2. Rotate OPENAI / GOOGLE / OPENROUTER / ANTHROPIC keys 3. Audit the AgentDB pattern store for injected agentdb_pattern-store entries; purge poisoned patterns. A patched redeploy alone does NOT undo poisoning. 4. Audit MongoDB for tampering Credit: [Eli Ainhorn](https://www.linkedin.com/in/eli-ainhorn), Senior AI Vulnerability Researcher @ [Noma Security](https://noma.security) Reviewed by Dragan Spiridonov (ADR-166 co-author).
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| npm: ruflo | < 3.16.3 | 3.16.3 | github |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
Fixed versions: ruflo 3.16.3
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (29/100)
- Estimated exploitation probability 6.24 % (EPSS, percentile 94.3 %) – an estimate, not confirmation (+5)
- Technical severity: CVSS 10 (CRITICAL) – on its own not a reason for top priority (+20)
- Linked to a monitored technology only by its description (+4)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://github.com/advisories/GHSA-c4hm-4h84-2cf3 · github
- Reference https://github.com/ruvnet/ruflo/security/advisories/GHSA-c4hm-4h84-2cf3 · github
- Reference https://nvd.nist.gov/vuln/detail/CVE-2026-59726 · github
- Reference https://github.com/ruvnet/ruflo/pull/2521 · github
- Reference https://github.com/ruvnet/ruflo/commit/d00a0a40cd8bdbca877ac7f675f416bdc69accd1 · github
- Reference https://github.com/ruvnet/ruflo/blob/main/v3/docs/adr/ADR-166-mcp-bridge-unauthenticated-r… · github
- Reference https://github.com/ruvnet/ruflo/releases/tag/v3.16.3 · github