External risk intelligence

Dokploy Command Injection Vulnerability via Malicious Registry Credentials.

CVE advisorySeverity: CRITICAL (CVSS 9.4)

CVE-2026-72879

Dokploy is a self-hostable Platform as a Service (PaaS) designed to manage deployments and infrastructure. As a centralized management platform for applications and containers, it is typically deployed as a reachable web-based administrative interface or service portal, making it a common target for internet-facing service management.

OS Command Injection

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory details a critical vulnerability in Dokploy, a self-hosted Platform as a Service. An authenticated user can exploit this flaw to execute arbitrary operating system commands on the server, potentially leading to unauthorized access and modification of host files. The main concern is confirming relevance and exposure, as the platform manages deployments and infrastructure.

  • Malicious code execution via server command injection.
  • Platform management makes it a potential target.
  • Confirm if Dokploy is used and affected.

Attack Path

How an attacker could exploit the issue

An attacker with project access can leverage this vulnerability by configuring malicious registry credentials within Dokploy. When a swarm deployment is triggered, the compromised credentials are used in a shell command without proper sanitization, allowing the attacker to execute arbitrary operating system commands on the server. This can lead to unauthorized access, modification of host files, and lateral movement to other containers.

  • Requires authenticated user with project access.
  • Malicious registry credentials in shell command.
  • Arbitrary OS command execution on server.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, an authenticated user with project access could leverage this vulnerability to execute arbitrary operating system commands on the Dokploy server. This could allow for unauthorized reading or modification of host files, and access to other containers managed by Docker.

  • Arbitrary command execution on the server.
  • Malicious registry credentials and swarm deployment.
  • Host file modification and container access.

Operational Fix

Recommended remediation, mitigation, and detection steps

Platform-as-a-Service (PaaS) solutions like Dokploy are typically managed by infrastructure or platform teams, with application owners needing to coordinate any necessary updates or configuration changes. The immediate priority is to inventory all Dokploy instances, confirm their reachability and business criticality, and identify the precise owner responsible for each deployment. Once these steps are complete, a risk-based remediation plan can be developed, which may involve vendor coordination if the PaaS is sourced externally, or internal change management processes for self-hosted instances.

  • Identify Dokploy instances and owners.
  • Verify reachability and business criticality.
  • Plan remediation based on identified risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Dokploy?

Dokploy is a self-hostable Platform as a Service (PaaS) designed to simplify infrastructure and application deployment. It serves as a centralized management dashboard, allowing developers to orchestrate containerized environments and streamline the deployment lifecycle of their projects directly on their own hardware.

What is the vulnerability in CVE-2026-72879?

This vulnerability is an instance of CWE-78, commonly known as OS Command Injection. It occurs when a system takes user-supplied input—in this case, registry credentials—and inserts it directly into a backend shell command without proper sanitization. This allows an attacker to inject and execute their own unintended commands on the underlying server.

How can an attacker trigger this flaw?

An attacker must have authenticated access to a project within the Dokploy instance. By configuring malicious registry credentials and subsequently triggering a swarm deployment, the attacker forces the server to process the unsafe input. Simply having access to the platform is not enough; the attacker must specifically initiate the deployment process where the unvalidated credentials are processed by the system.

Why should I care about this as an admin?

According to Halo Surface Signal, Dokploy is frequently deployed as a web-based administrative interface, making it a natural target for internet-facing service management. Because the vulnerability grants unauthorized access to the host operating system, an attacker could potentially gain control over not just the Dokploy application, but also the host files and other containers managed by the platform.

Do I need to update my Dokploy installation?

Yes. The vulnerability is resolved in version 0.29.8. If you are running an earlier version, you should prioritize upgrading to 0.29.8 or later to eliminate the command injection flaw. Begin by identifying all instances of Dokploy in your environment, verifying their current versions, and scheduling an update through your standard internal change management process.

References