The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-5741

CVE-2026-5741: Docker-MCP-Server RCE Vulnerability

CVE-2026-5741 is a remote code execution flaw in docker-mcp-server up to version 0.1.0 caused by OS command injection. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 10, 2026

CVE-2026-5741 Overview

A command injection vulnerability has been identified in suvarchal docker-mcp-server up to version 0.1.0. The vulnerability exists in the stop_container, remove_container, and pull_image functions within the src/index.ts file of the HTTP Interface component. This weakness allows attackers to inject and execute arbitrary operating system commands on the target system. The vulnerability can be exploited remotely over the network without requiring authentication or user interaction.

Critical Impact

Remote attackers can execute arbitrary OS commands on systems running vulnerable versions of docker-mcp-server, potentially leading to complete system compromise, data theft, or lateral movement within containerized environments.

Affected Products

  • suvarchal docker-mcp-server version 0.1.0 and earlier
  • Systems exposing the docker-mcp-server HTTP Interface to network access
  • Container orchestration environments utilizing the affected MCP server component

Discovery Timeline

  • 2026-04-07 - CVE-2026-5741 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-5741

Vulnerability Analysis

This vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command), commonly known as command injection. The docker-mcp-server HTTP Interface fails to properly sanitize user-supplied input before passing it to operating system command execution functions. The affected functions stop_container(), remove_container(), and pull_image() in src/index.ts directly incorporate user-controlled parameters into shell commands without adequate validation or escaping.

When container names, image identifiers, or other parameters are processed by these functions, an attacker can craft malicious input containing shell metacharacters or command separators that break out of the intended command context. This allows execution of attacker-controlled commands with the privileges of the docker-mcp-server process.

Root Cause

The root cause of this vulnerability is improper input validation and the use of unsanitized user input in system command construction. The application directly passes user-supplied container names and image identifiers to shell execution functions without neutralizing special characters such as semicolons, backticks, pipes, or command substitution sequences. The TypeScript code in src/index.ts constructs Docker CLI commands using string concatenation or template literals that include unsanitized parameters.

Attack Vector

The attack is network-accessible, requiring no authentication or special privileges. An attacker can send crafted HTTP requests to the docker-mcp-server HTTP Interface with malicious payloads in container name or image parameters. The injection payload can include command separators (;, &&, ||) or command substitution syntax (`command` or $(command)) to append arbitrary commands to the Docker CLI invocations.

For example, when stopping a container, an attacker could supply a container name like mycontainer; malicious_command which would result in the execution of both the intended Docker command and the injected malicious command. The exploit has been publicly disclosed, and technical details are available through the GitHub Issue Report and VulDB vulnerability entry.

Detection Methods for CVE-2026-5741

Indicators of Compromise

  • Unusual HTTP requests to docker-mcp-server endpoints containing shell metacharacters (;, |, &&, ||, backticks, $())
  • Unexpected child processes spawned by the docker-mcp-server or Node.js runtime
  • Anomalous Docker CLI command execution patterns in system logs
  • Network connections or file system modifications originating from the docker-mcp-server process context

Detection Strategies

  • Monitor HTTP request logs for container names or image identifiers containing command injection patterns
  • Implement application-level logging to capture all parameters passed to stop_container(), remove_container(), and pull_image() functions
  • Deploy network intrusion detection rules to identify command injection payloads in docker-mcp-server traffic
  • Use endpoint detection and response (EDR) solutions to monitor for suspicious process execution chains

Monitoring Recommendations

  • Enable verbose logging on the docker-mcp-server application to capture all incoming HTTP requests
  • Configure system audit logging to track command execution by the Node.js process running docker-mcp-server
  • Implement real-time alerting for detection rule matches indicating command injection attempts
  • Regularly review Docker daemon logs for unexpected or malformed container operations

How to Mitigate CVE-2026-5741

Immediate Actions Required

  • Restrict network access to the docker-mcp-server HTTP Interface to trusted hosts only using firewall rules or network segmentation
  • Implement a web application firewall (WAF) or reverse proxy with input validation rules to filter malicious payloads
  • Audit current deployments to identify exposed instances of docker-mcp-server
  • Consider temporarily disabling the vulnerable HTTP Interface if it is not operationally required

Patch Information

At the time of publication, the vendor has not yet responded to the vulnerability disclosure submitted through the GitHub issue. No official patch is currently available. Organizations should monitor the project repository and security advisories for patch availability. Additional vulnerability details are tracked in VulDB Submission #786948.

Workarounds

  • Deploy docker-mcp-server behind a reverse proxy that validates and sanitizes all input parameters before forwarding requests
  • Use network access controls to limit exposure of the HTTP Interface to localhost or trusted internal networks only
  • Implement container runtime security tools to restrict what commands can be executed within the docker-mcp-server context
  • Consider using alternative Docker management solutions until an official patch is released
bash
# Example: Restrict docker-mcp-server access using iptables
# Allow only localhost connections to the MCP server port (adjust port as needed)
iptables -A INPUT -p tcp --dport 3000 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 3000 -j DROP

# Alternative: Use firewalld to restrict access
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="127.0.0.1" port port="3000" protocol="tcp" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" port port="3000" protocol="tcp" drop'
firewall-cmd --reload

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDocker

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability1.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-77
  • Technical References
  • GitHub Issue Report

  • GitHub Issue Discussion

  • VulDB Submission #786948

  • VulDB Vulnerability #355748

  • VulDB CTI for #355748
  • Related CVEs
  • CVE-2023-0628: Docker Desktop RCE Vulnerability

  • CVE-2024-8695: Docker Desktop RCE Vulnerability

  • CVE-2024-8696: Docker Desktop RCE Vulnerability

  • CVE-2025-15558: Docker CLI Privilege Escalation Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English