External risk intelligence

Dokploy Command Injection via File Mount Deletion

CVE advisorySeverity: CRITICAL (CVSS 9.9)

CVE-2026-129986

Dokploy is a self-hosted Platform as a Service (PaaS) designed to manage deployments and applications. By nature, such administrative panels and management interfaces are commonly exposed to the internet or reachable via a centralized management portal to facilitate remote access and deployment operations.

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

A critical vulnerability in Dokploy, a self-hosted Platform as a Service, allows an authenticated user with specific permissions to execute arbitrary commands on the host system. This could lead to a complete compromise of the underlying infrastructure. The issue is related to how file paths are handled when deleting local file mounts.

  • Authenticated users can run any command on the server.
  • Important for PaaS users to verify system relevance.
  • Confirm if your Dokploy deployment is affected.

Attack Path

How an attacker could exploit the issue

An attacker with authenticated access to Dokploy and permissions to create and delete file mounts could exploit this vulnerability. By initiating a file mount deletion, they can trigger the execution of arbitrary commands on the underlying host system without needing a running container. This occurs because the user-supplied file path is not properly handled, leading to command injection.

  • Authenticated user with file mount permissions.
  • Deleting a local file mount.
  • Arbitrary command execution on host.

Live Threat

Current exploitation, exposure, and threat context

An authenticated Dokploy user with file-mount permissions could execute arbitrary commands on the host system when deleting a local file mount. This attack could occur without needing a running container and directly affects the host environment where Dokploy is deployed.

  • Host system commands.
  • Deleting a local file mount.
  • Unauthorized host command execution.

Operational Fix

Recommended remediation, mitigation, and detection steps

Platform teams and application owners are likely responsible for addressing this vulnerability in Dokploy, as it impacts the self-hosted PaaS infrastructure. The immediate first step is to identify all Dokploy instances, determine their exposure and business criticality, confirm the responsible system owner, and then prioritize remediation efforts based on assessed risk.

  • Identify Dokploy instances and owners.
  • Verify exposure and business impact.
  • Plan targeted remediation or mitigation.

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 and how is it used?

Dokploy is a self-hosted Platform as a Service (PaaS) that simplifies managing, deploying, and scaling applications. It acts as a control panel for infrastructure, allowing users to automate container deployments and manage server resources through a centralized interface.

What does CVE-2026-129986 mean for system security?

This vulnerability is classified as Improper Neutralization of Special Elements used in an OS Command, known as Command Injection (CWE-77/CWE-78). It happens when the software fails to properly sanitize user-provided file paths, allowing an attacker to insert and execute unauthorized system-level commands on the host machine.

How can an attacker trigger this vulnerability?

An attacker needs authenticated access to Dokploy with permission to manage file mounts. The issue is triggered specifically when deleting a local file mount, where the path is processed incorrectly. It does not require a running container to trigger the command execution.

Is my Dokploy instance at risk?

According to Halo Surface Signal, Dokploy is designed as a management interface often exposed to the internet to support remote deployment, increasing the likelihood of accessibility. If your instance is reachable over the network, authenticated users with mount permissions pose a direct risk to the underlying host.

What should I do to secure my environment?

The primary response is to update your Dokploy installation to version 0.31.1 or later, which contains the fix for file path handling. Before updating, identify all running instances and confirm the scope of users who possess file-mount creation and deletion permissions.

References