All vulnerabilities

npm

CVE-2026-59726

ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments

Severity
Critical 10.0
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
3.16.3
Exploit chance
6.2% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Missing authentication (CWE-306)OS command injection (CWE-78)Permissive cross-domain policy (CWE-942)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-c4hm-4h84-2cf3
Sources
OSV.dev and GitHub

Description

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…
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ruflonpm · osv:npm:ruflo
  • Every version before 3.16.3

About ruflo

Weekly downloads (npm)
62,301npm, 24 Nov 2026

This is the only vulnerability in ruflo in our list.

References