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
    • 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-24841

CVE-2026-24841: Dokploy WebSocket RCE Vulnerability

CVE-2026-24841 is a command injection vulnerability in Dokploy's WebSocket endpoint that allows authenticated attackers to execute arbitrary commands on the host server. This article covers technical details, affected versions, and patches.

Published: January 30, 2026

CVE-2026-24841 Overview

A critical command injection vulnerability has been identified in Dokploy, a free, self-hostable Platform as a Service (PaaS) solution. The vulnerability exists in Dokploy's WebSocket endpoint /docker-container-terminal, where the containerId and activeWay parameters are directly interpolated into shell commands without proper sanitization. This allows authenticated attackers to execute arbitrary commands on the host server, potentially leading to complete system compromise.

Critical Impact

Authenticated attackers can achieve remote code execution on the host server by injecting malicious commands through unsanitized WebSocket parameters, potentially compromising the entire PaaS infrastructure and all hosted applications.

Affected Products

  • Dokploy versions prior to 0.26.6
  • Self-hosted Dokploy PaaS installations with WebSocket terminal functionality enabled
  • Deployments exposing the /docker-container-terminal WebSocket endpoint

Discovery Timeline

  • 2026-01-28 - CVE-2026-24841 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2026-24841

Vulnerability Analysis

This command injection vulnerability (CWE-78) occurs in the Docker container terminal WebSocket handler within Dokploy. The root cause is the direct interpolation of user-controllable parameters into shell command strings without any input validation or sanitization. When an authenticated user connects to the /docker-container-terminal WebSocket endpoint, they can supply arbitrary values for the containerId and activeWay parameters. These values are then passed directly to shell execution functions, allowing attackers to break out of the intended command context and execute arbitrary system commands.

The network-accessible nature of this vulnerability combined with the low complexity required for exploitation makes it particularly dangerous. An attacker with low-privilege authenticated access can leverage this flaw to execute commands with the privileges of the Dokploy process, typically running with elevated permissions to manage Docker containers.

Root Cause

The vulnerability stems from improper input validation in the WebSocket message handling code within docker-container-terminal.ts. The containerId and activeWay parameters received from WebSocket messages are directly concatenated into shell command strings without escaping special characters or validating against expected patterns. This creates a classic command injection scenario where shell metacharacters (such as ;, |, $(), or backticks) can be used to inject additional commands.

Attack Vector

An attacker must first obtain authenticated access to the Dokploy platform, which requires low-privilege credentials. Once authenticated, the attacker establishes a WebSocket connection to the /docker-container-terminal endpoint. By crafting malicious payloads in the containerId or activeWay parameters containing shell metacharacters and arbitrary commands, the attacker can execute any command on the underlying host system. This could include data exfiltration, lateral movement, persistence establishment, or destruction of hosted services.

The vulnerability is particularly severe in multi-tenant PaaS environments where a single compromised user account could lead to complete infrastructure takeover, affecting all hosted applications and potentially exposing sensitive data from other tenants.

Detection Methods for CVE-2026-24841

Indicators of Compromise

  • Unusual WebSocket connections to /docker-container-terminal endpoint with suspicious parameter values
  • Shell metacharacters (;, |, &&, ||, backticks, $()) appearing in WebSocket message payloads
  • Unexpected process spawning from the Dokploy application process
  • Anomalous command execution patterns in system audit logs originating from the Dokploy service

Detection Strategies

  • Implement WebSocket traffic inspection to identify payloads containing shell injection patterns in containerId or activeWay parameters
  • Deploy application-level logging to capture and alert on WebSocket terminal session parameters
  • Monitor for unusual child processes spawned by the Dokploy Node.js process
  • Utilize endpoint detection and response (EDR) solutions to detect command injection exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for WebSocket connections on the Dokploy platform
  • Configure SIEM rules to alert on command injection patterns in application logs
  • Monitor Docker API calls for unexpected container operations that could indicate lateral movement
  • Implement network segmentation to limit the impact of potential command execution on the host

How to Mitigate CVE-2026-24841

Immediate Actions Required

  • Upgrade Dokploy to version 0.26.6 or later immediately
  • Audit access logs for the /docker-container-terminal endpoint for any suspicious activity
  • Review user accounts with access to the Docker terminal functionality and revoke unnecessary privileges
  • Implement network-level restrictions to limit access to the WebSocket terminal endpoint

Patch Information

Dokploy version 0.26.6 addresses this vulnerability by implementing proper input sanitization for the containerId and activeWay parameters before they are used in shell commands. The fix is available in the GitHub commit. Organizations should update to this version or later to remediate the vulnerability. For detailed technical information, refer to the GitHub Security Advisory.

Workarounds

  • Disable or restrict access to the /docker-container-terminal WebSocket endpoint until patching is possible
  • Implement a web application firewall (WAF) rule to block requests containing shell metacharacters in WebSocket payloads
  • Limit network access to the Dokploy management interface to trusted IP ranges only
  • Consider running Dokploy in an isolated network segment to limit the blast radius of potential exploitation
bash
# Example: Restrict access to Dokploy management interface using iptables
# Allow only trusted admin IPs to access Dokploy port
iptables -A INPUT -p tcp --dport 3000 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 3000 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDokploy

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Docker Terminal Code

  • GitHub Commit History

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-24839: Dokploy Clickjacking CSRF Vulnerability

  • CVE-2026-24840: Dokploy Auth Bypass Vulnerability
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