#Server Security

CVE-2026-129987: Arbitrary Command Execution in Dokploy

A critical vulnerability in Dokploy allows for arbitrary command execution.

CVE-2026-129987: Arbitrary Command Execution in Dokploy

Introduction

The vulnerability CVE-2026-129987 affects Dokploy, a self-hosted Platform as a Service. This critical flaw allows for arbitrary command execution on the operating system, which can have severe security implications.

What happened?

Prior to version 0.31.1, Dokploy utilized inadequate password validation for database passwords. This flaw allowed authenticated users who could update a database password to insert special characters, such as backticks. This resulted in attacker-controlled passwords being interpolated into Bash command strings, leading to command execution on the operating system with the privileges of the Dokploy process, which are typically root.

How does the vulnerability work?

The vulnerability lies in how Dokploy handles password validation during the password change process. The lack of strict validation allows a malicious user to input commands that will be executed on the system, using Dokploy's privileges. This can lead to significant security compromises, including unauthorized access to sensitive data and total control over the system.

What is the real impact?

The impact of this vulnerability is critical, as it allows for arbitrary command execution on the operating system. An attacker can exploit this flaw to gain full access to the system, compromise data, and potentially cause irreparable damage to the application infrastructure.

Which versions are affected?

  • Before version 0.31.1

How to fix

  1. Update Dokploy to version 0.31.1 or higher.
  2. Ensure that all dependencies and configurations comply with security best practices.
  3. Conduct additional security testing to ensure that the vulnerability has been fully mitigated.

Mitigation while you update

While an update is not possible, it is recommended to restrict access to the system to trusted users and monitor system activities for suspicious behavior.

Conclusion

The CVE-2026-129987 vulnerability in Dokploy poses a significant security risk. It is crucial for affected users to update to the patched version as soon as possible to protect their systems.

// Fontes

  1. NVD — CVE-2026-129987 nvd.nist.gov ↗
  2. CVE.org — CVE-2026-129987 cve.org ↗
  3. GitHub github.com ↗
  4. GitHub github.com ↗
  5. GitHub github.com ↗
  6. GitHub github.com ↗

// ++ — related