Critical flaw in Ruflo gave command execution through an open MCP bridge

Noma Labs published CVE-2026-59726 on 29 July 2026, a vulnerability in Ruflo, an open platform for orchestrating AI agents. NVD records a CVSS score of 10.0 with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, and classifies the weakness as missing authentication for a critical function and as command injection. In the default Docker Compose setup the MCP bridge listened on port 3001 across all interfaces without authentication, exposing 233 tools, among them shell command execution. The flaw is fixed in version 3.16.3, and Noma Labs has published concrete remediation steps.

What happens technically

MCP stands for Model Context Protocol, and is the interface an AI agent uses to call tools. The bridge in Ruflo is a server that receives such calls over HTTP and carries them out on behalf of the agent. Noma Labs describes how the endpoint accepted calls without any form of login, and how a single request listed all 233 tools. One of them runs commands inside the container. A single HTTP request was therefore enough to have commands executed on the machine, without credentials and without a user doing anything. The NVD vector says the same thing in short form, with attack over the network, low complexity, no privileges, no user interaction and a changed scope.

The impact chain Noma Labs demonstrates runs onwards from there. The environment variables inside the container hold the API keys for the model providers, and they could be read straight out. With those keys an attacker can run agents at the organisation's expense. The MongoDB database on port 27017 also stood without authentication, so earlier conversations could be extracted, and the pattern store the agents learn from could be poisoned. The root cause had two parts. The bridge bound to all interfaces by default, and the blocklist for dangerous commands applied only to another part of the product, not to the tool call endpoint. The fix in version 3.16.3 binds the bridge to the loopback interface, requires authentication with a secret token and refuses to start without it, disables command execution by default, requires authentication against the database and replaces open cross origin access with an allowlist.

Request without loginHTTP to port 3001The MCP bridge233 tools, no controlCommands in the containershell as the service userKeys and conversationsMongoDB on port 27017
Figure: A single request without login to port 3001 gave command execution inside the container, and from there both API keys and stored conversations lay open.

What this means for you if you have AI agents running

We think the most important part here is not Ruflo itself, but where platforms of this kind get stood up in your organisation. Frameworks for AI agents are often installed by a development team trying something new, with the default setup from the documentation and a quick start in Docker. Default setups are built so that things work on a developer machine. They are not built to withstand a network others can reach. The keys to the model provider also cost money to use, which makes them a target in their own right.

The other side is that installations of this kind rarely appear in your asset inventory. A vulnerability scoring 10.0 helps you little if nobody knows the software is running at your end. Our assessment is that your practical task is to find out what is actually running, not to debate the severity. If you are covered by NIS2, the Article 21 requirements for vulnerability handling and for security in the acquisition and use of systems are the formal basis. In ISO/IEC 27001, control 8.8 on management of technical vulnerabilities is the operational one, and it assumes that you genuinely have an inventory of your software.

Berigo recommends

  • Look for Ruflo across the organisation, and check in particular for open ports 3001 and 27017 towards both internal and external networks.
  • Upgrade to version 3.16.3 or later, and close the ports in the firewall regardless.
  • Rotate every model provider API key that may have sat in an exposed deployment.
  • Review the pattern store and the database for signs of tampering, and look for agent runs you do not recognise.
  • Bring agent platforms into the asset inventory and into vulnerability management, on the same footing as other software in production.

Related services

Security that is understood, governed and works.

Let us help you turn security into an advantage, not a cost. Get in touch for a no-obligation conversation about where your organisation stands and what to prioritise first.

Get in touch