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...
Full CISO analysis pending enrichment.
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenAI Node | npm | < 3.16.3 | 3.16.3 |
Do you use OpenAI Node? You're affected.
How severe is it?
What is the attack surface?
What should I do?
Patch available
Update OpenAI Node to version 3.16.3
Which compliance frameworks are affected?
Compliance analysis pending. Sign in for full compliance mapping when available.
Frequently Asked Questions
What is CVE-2026-59726?
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).
Is CVE-2026-59726 actively exploited?
A working exploit for CVE-2026-59726 is published in Exploit-DB, increasing the risk of exploitation.
How to fix CVE-2026-59726?
Update to patched version: OpenAI Node 3.16.3.
What is the CVSS score for CVE-2026-59726?
CVE-2026-59726 has a CVSS v3.1 base score of 10.0 (CRITICAL). The EPSS exploitation probability is 6.24%.
What are the technical details?
Original Advisory
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).
Weaknesses (CWE)
CWE-306Missing Authentication for Critical FunctionalityPrimaryCWE-78Improper Neutralization of Special Elements used in an OS CommandPrimaryCWE-942Permissive Cross-domain Security Policy with Untrusted DomainsPrimaryCWE-306 — Missing Authentication for Critical Functionality: The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
- [Architecture and Design] Divide the software into anonymous, normal, privileged, and administrative areas. Identify which of these areas require a proven user identity, and use a centralized authentication capability. Identify all potential communication channels, or other means of interaction with the software, to ensure that all channels are appropriately protected, including those channels that are assumed to be accessible only by authorized parties. Developers sometimes perform authentication at the primary channel, but open up a secondary channel that is assumed to be private. For example, a login mechanism may be listening on one network port, but after successful authentication, it may open up a second port where it waits for the connection, but avoids authentication because it assumes that only the authenticated party will connect to the port. In general, if the software or protocol allows a single session or user state to persist across multiple connections or channels, authentication and appropriate
- [Architecture and Design] For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HReferences
- github.com/advisories/GHSA-c4hm-4h84-2cf3
- github.com/ruvnet/ruflo/blob/main/v3/docs/adr/ADR-166-mcp-bridge-unauthenticated-rce-remediation.md
- github.com/ruvnet/ruflo/commit/d00a0a40cd8bdbca877ac7f675f416bdc69accd1
- github.com/ruvnet/ruflo/pull/2521
- github.com/ruvnet/ruflo/releases/tag/v3.16.3
- github.com/ruvnet/ruflo/security/advisories/GHSA-c4hm-4h84-2cf3
- nvd.nist.gov/vuln/detail/CVE-2026-59726
Timeline
Scanner Template Available
A Nuclei vulnerability scanner template exists for this CVE. You can scan your infrastructure for this vulnerability immediately.
View template on GitHubnuclei -t http/cves/2026/CVE-2026-59726.yaml -u https://target.example.comRelated Vulnerabilities
CVE-2026-6153910.0Xinference: eval() on LLM output enables RCE
Same package: openaiGHSA-vjc7-jrh9-9j8610.09Router: no-auth API leaks keys, chats, provider control
Same package: openaiCVE-2025-612609.8OpenAI Codex CLI: RCE via malicious MCP config files
Same package: openaiCVE-2024-238279.8Nginx-UI: arbitrary file write via cert import leads to RCE
Same package: openaiCVE-2026-195939.8Codex Desktop: Git config filter triggers sandbox-escape RCE
Same package: openai