CVE-2026-129991: Critical Vulnerability in Dokploy
CVE-2026-129991 allows arbitrary command execution as root.

// on this page (8)
Introduction
The CVE-2026-129991 vulnerability affects Dokploy, a self-hosted Platform as a Service. This flaw allows an authenticated organization member to execute arbitrary commands as root, compromising system security.
What happened?
Prior to version 0.31.1, the backup prefix field in Dokploy was only checked for a non-empty value. Additionally, the normalizeS3Path function preserved shell metacharacters before the prefix was interpolated into rclone upload and retention-cleanup command strings. This means that a user with backup permissions could exploit this flaw during the execution of service backups, such as PostgreSQL, MySQL, MariaDB, MongoDB, among others.
How does the vulnerability work?
The vulnerability lies in how Dokploy handles backup commands. The lack of proper input validation allows a malicious user to insert commands that will be executed on the system as root, potentially compromising data integrity and confidentiality.
What is the real impact?
The impact of this vulnerability is critical, as it allows arbitrary command execution on the server. This can lead to severe consequences, including data loss, security breaches, and service disruptions.
Which versions are affected?
- Prior to version 0.31.1
How to fix
- Update Dokploy to version 0.31.1 or higher.
- Ensure that all user permissions are correctly configured.
- Review security logs to identify unauthorized access.
Mitigation while you update
While it is not possible to update, it is recommended to restrict backup permissions to trusted users and closely monitor system activities.
Conclusion
The CVE-2026-129991 vulnerability poses a significant risk to Dokploy users. It is essential to apply the necessary updates to ensure system security.
// Fontes
- NVD — CVE-2026-129991 nvd.nist.gov ↗
- CVE.org — CVE-2026-129991 cve.org ↗
- GitHub github.com ↗
- GitHub github.com ↗
- GitHub github.com ↗
- GitHub github.com ↗