Skip to content
FlawDB
Sign in

CVE-2026-59726

CRITICAL 10.0EPSS 94%

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

Also known as GHSA-c4hm-4h84-2cf3

Mitigation

  • Upgrade ruflo to 3.16.3 or later.

Who should check

  • Projects that depend on npm package ruflo (< 3.16.3)

Vulnerability facts

Affected
ruflo < 3.16.3
Fixed in
3.16.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
10.0 (v3.1, GitHub)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
6.24% chance of exploitation in 30 days (percentile 94, 2026-11-26)
CWE
CWE-78, CWE-306, CWE-942
Published
Modified

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 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 and fixed versions

Package / productAffectedFixedSource
npm ruflo< 3.16.33.16.3ghsa

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-59726. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-59726.md
Affected: ruflo < 3.16.3
Fixed in: 3.16.3

Steps:
1. Search this machine and project for ruflo (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-59726 being exploited?

There is no confirmed exploitation: CVE-2026-59726 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.24% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-59726?

Critical: CVSS 10.0 (v3.1, scored by GitHub). Remote, no login needed.

Which versions are affected by CVE-2026-59726?

ruflo < 3.16.3.

Is there a fix for CVE-2026-59726?

Yes. Fixed in 3.16.3. Upgrade ruflo to 3.16.3 or later.

How do I check if I'm affected by CVE-2026-59726?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors