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-45662

CVE-2026-45662: Dokploy Registry Deletion RCE Vulnerability

CVE-2026-45662 is a remote code execution flaw in Dokploy's registry deletion function that allows command injection through crafted registry URLs. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-45662 Overview

CVE-2026-45662 is a command injection vulnerability in Dokploy, a free self-hostable Platform as a Service (PaaS). The flaw resides in the deleteRegistry function within packages/server/src/services/registry.ts. Dokploy versions 0.29.0 and earlier execute docker logout ${response.registryUrl} without applying shell escaping. The same source file correctly uses shEscape() for the corresponding docker login command, making the omission an inconsistency rather than a missing safeguard. An authenticated attacker can craft a malicious registryUrl value and trigger arbitrary OS command execution on the Dokploy host when the registry is deleted.

Critical Impact

Authenticated attackers can execute arbitrary commands on the underlying Dokploy server, compromising confidentiality, integrity, and availability of the PaaS host.

Affected Products

  • Dokploy 0.29.0
  • Dokploy versions prior to 0.29.0
  • Self-hosted Dokploy PaaS deployments

Discovery Timeline

  • 2026-05-29 - CVE-2026-45662 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-45662

Vulnerability Analysis

The vulnerability is classified as OS Command Injection [CWE-78]. Dokploy manages container registries through a server-side service module that wraps the Docker CLI. When an administrator deletes a configured registry, the application invokes docker logout against the URL stored for that registry. The implementation interpolates the stored registryUrl directly into the shell command string without sanitization. Because the registryUrl value is attacker-controllable through the registry creation or update workflow, shell metacharacters embedded in that value are interpreted by the shell at deletion time. The attacker requires low-privilege authenticated access to the Dokploy UI or API to set the malicious value.

Root Cause

The deleteRegistry function in packages/server/src/services/registry.ts constructs the docker logout command using template literal interpolation rather than the project's existing shEscape() helper. The same file applies shEscape() correctly to the docker login path, confirming the project maintains a sanitization primitive that was not consistently applied. The missing escape on the logout branch allows shell metacharacters such as ;, &&, |, and backticks to break out of the intended argument context.

Attack Vector

An attacker with permission to create or modify registry entries supplies a registryUrl containing shell metacharacters and a payload command. The value is persisted in the Dokploy database. When the attacker, or any user, deletes the registry entry, Dokploy passes the unsanitized URL to the shell, executing the injected command under the privileges of the Dokploy server process. Network access to the Dokploy management interface is sufficient for exploitation.

No verified public exploit code is available. Refer to the GitHub Security Advisory GHSA-827c-7x62-29jq for the upstream technical description.

Detection Methods for CVE-2026-45662

Indicators of Compromise

  • Registry entries in the Dokploy database whose registryUrl field contains shell metacharacters such as ;, &&, |, $(, or backticks.
  • Unexpected child processes spawned by the Dokploy Node.js process, particularly shells (sh, bash) invoking commands unrelated to Docker.
  • Audit log entries showing registry deletion events immediately followed by anomalous process execution on the host.

Detection Strategies

  • Inspect application logs for deleteRegistry invocations and correlate them with process execution telemetry on the host.
  • Hunt for outbound network connections initiated by processes that are descendants of the Dokploy service following registry CRUD operations.
  • Review database records for stored registry URLs that do not match the expected URL grammar.

Monitoring Recommendations

  • Enable command-line auditing on the Dokploy host to capture full arguments of docker invocations and any spawned shells.
  • Forward Dokploy application logs and host process telemetry to a centralized SIEM and alert on anomalous child processes of the Dokploy runtime.
  • Monitor administrative API endpoints handling registry create, update, and delete actions for unusual payload content.

How to Mitigate CVE-2026-45662

Immediate Actions Required

  • Upgrade Dokploy to a version later than 0.29.0 that applies shEscape() to the docker logout command path.
  • Audit all existing registry entries and remove or normalize any registryUrl values that contain shell metacharacters before performing deletions.
  • Restrict access to the Dokploy management interface to trusted administrators and place it behind network-layer access controls.

Patch Information

The vendor advisory is published as GHSA-827c-7x62-29jq. Apply the fixed release identified in that advisory. The remediation extends the use of the existing shEscape() helper to the docker logout invocation in packages/server/src/services/registry.ts.

Workarounds

  • Limit registry creation and deletion permissions to a minimal set of trusted operators until the patch is applied.
  • Validate registryUrl input at the application boundary, rejecting values that contain characters outside the expected URL character set.
  • Run the Dokploy service as an unprivileged user inside a hardened container to reduce the impact of command execution on the host.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDokploy

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.22%

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

  • CVE-2026-45629: Dokploy RCE Vulnerability

  • CVE-2026-45630: Dokploy Command Injection Vulnerability

  • CVE-2026-45663: Dokploy Command Injection RCE 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