Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, database backup and restore command builders in packages/server/src/utils/backups/utils.ts and packages/server/src/utils/restore/utils.ts interpolate database names, usernames, and passwords into nested shell command strings passed to child_process.exec(). An authenticated administrator with permission to create databases and configure backups can use crafted database configuration fields to execute arbitrary commands inside PostgreSQL, MariaDB, MySQL, MongoDB, or LibSQL containers, exposing database data and credentials and potentially enabling escape when a container is overprivileged. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Dokploy’s backup and restore utilities allows an authenticated administrator to embed arbitrary shell commands within database configuration fields. The vulnerability arises from unsanitized interpolation of database names, usernames, and passwords into shell strings that are executed by child_process.exec(). The flaw permits attackers to run arbitrary commands inside PostgreSQL, MariaDB, MySQL, MongoDB, or LibSQL containers, potentially exposing database credentials and data and enabling container escape when the container has excessive privileges.

Affected Systems

Dokploy Dokploy versions prior to 0.29.13 are affected. Users running the PaaS application with an authenticated administrator account that has permission to configure database backups and restores are susceptible.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while no EPSS score is currently available. This vulnerability is not listed in the CISA KEV catalog. Exploitation requires legitimate administrative access and the privilege to intervene in database configuration, thus the attack vector is likely restricted to internal administrators or privileged attackers with such access.

Generated by OpenCVE AI on August 10, 2026 at 20:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, which removes the unsafe command interpolation.
  • If an upgrade cannot be performed immediately, disable backup and restore functionality or restrict the feature to a limited set of trusted administrators.
  • Verify that only trusted users have rights to configure database backups, and review any custom database credentials for proper validation.

Generated by OpenCVE AI on August 10, 2026 at 20:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy

Mon, 10 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, database backup and restore command builders in packages/server/src/utils/backups/utils.ts and packages/server/src/utils/restore/utils.ts interpolate database names, usernames, and passwords into nested shell command strings passed to child_process.exec(). An authenticated administrator with permission to create databases and configure backups can use crafted database configuration fields to execute arbitrary commands inside PostgreSQL, MariaDB, MySQL, MongoDB, or LibSQL containers, exposing database data and credentials and potentially enabling escape when a container is overprivileged. This issue is fixed in version 0.29.13.
Title Dokploy: Command Injection via database credentials in backup/restore commands
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 6.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T19:51:51.254Z

Reserved: 2026-08-10T15:28:27.617Z

Link: CVE-2026-72881

cve-icon Vulnrichment

Updated: 2026-08-10T19:51:47.051Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:15:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')