CVE-2026-72862

Dokploy: OS Command Injection via dockerImage field in database service deployment functions → HOST RCE

Published Aug 10, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the mariadb.ts, mongo.ts, mysql.ts, postgres.ts, redis.ts, and libsql.ts Dokploy database service deployment functions pass user-controlled dockerImage fields unquoted into docker pull ${dockerImage} shell commands on the remote-server code path. This vulnerability is fixed in 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy allows an attacker to inject arbitrary shell commands through the dockerImage parameter supplied to its database service deployment functions. The application passes this user-controlled value unquoted into a shell command docker pull ${dockerImage}. This unchecked input enables command execution on the host, exposing the entire system to compromise. The vulnerability is a classic OS command injection (CWE‑78) and can be leveraged to exfiltrate data, modify configuration, or pivot to other services on the host.

Affected Systems

The flaw exists in Dokploy versions prior to 0.29.13, affecting the database service deployment modules for MariaDB, MongoDB, MySQL, PostgreSQL, Redis, and libSQL. It applies to all installations using these deployment functions where dockerImage values are not sanitized.

Risk and Exploitability

The CVSS score of 9.9 indicates a critical severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, but the high severity rating dictates immediate attention. The attack requires the ability to submit or modify database service deployment requests, typically via authenticated access to the Dokploy administration interface. Once an attacker supplies a malicious dockerImage string, the vulnerable code executes it with the permissions of the Dokploy process, allowing full host compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later where the issue is fixed.
  • Limit access to database service deployment endpoints to trusted administrators and enforce a whitelist for allowed dockerImage values.
  • If upgrading is delayed, patch or remove the unquoted dockerImage usage in the deployment scripts so that the value is properly escaped or validated.

Generated by OpenCVE AI on August 10, 2026 at 19:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the mariadb.ts, mongo.ts, mysql.ts, postgres.ts, redis.ts, and libsql.ts Dokploy database service deployment functions pass user-controlled dockerImage fields unquoted into docker pull ${dockerImage} shell commands on the remote-server code path. This vulnerability is fixed in 0.29.13.
Title Dokploy: OS Command Injection via dockerImage field in database service deployment functions → HOST RCE
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 6:13 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 6:18 PM
Modified
Sep 8, 2026, 8:54 PM