CVE-2026-72862: Dokploy: OS Command Injection via dockerImage field in database service deployment functions → HOST RCE
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.
Security readout for executives and security teams
Plain-English summary
Dokploy versions before 0.29.13 allow a user with limited privileges to manipulate a database image setting so the underlying host executes unintended operating-system commands. Successful exploitation could compromise data, alter services, and disrupt the host running Dokploy.
Executive priority
Prioritize remediation immediately, especially for internet-reachable or multi-user installations. The vulnerability requires some privileges, but its low complexity and potential host-wide confidentiality, integrity, and availability impact justify emergency patching and retrospective review.
Technical view
Six database deployment functions insert the user-controlled dockerImage value without safe quoting into a shell-based docker pull operation on the remote-server path. This CWE-78 command injection crosses a security boundary and can produce host-level remote code execution. The published CVSS 3.1 score is 9.9.
Likely exposure
Exposure is limited to Dokploy installations earlier than 0.29.13 using affected MariaDB, MongoDB, MySQL, PostgreSQL, Redis, or libSQL deployment paths. The CVSS vector indicates network reachability and low privileges are required, with no user interaction. The sources do not further define required roles or configuration.
Exploitation context
The supplied sources establish a viable authenticated command-injection path but provide no evidence of exploitation in the wild. The CVE is not listed as KEV in the source bundle. Treat reachable, multi-user Dokploy deployments as urgent because successful abuse can affect the host beyond the vulnerable service.
Researcher notes
The affected code paths are mariadb.ts, mongo.ts, mysql.ts, postgres.ts, redis.ts, and libsql.ts on remote-server deployments. The central issue is unsafe shell interpolation of dockerImage. Public materials identify the vulnerable versions and fixing release, but the supplied evidence does not establish observed attacks or clarify the minimum Dokploy role required.
Mitigation direction
Upgrade Dokploy to version 0.29.13 or later.
Restrict Dokploy access to trusted administrators until the upgrade is verified.
Review vendor guidance and the referenced advisory for any additional precautions.
Investigate potentially malicious database image values on previously vulnerable systems.
Validation and detection
Inventory every Dokploy instance and record its installed version.
Confirm each instance reports version 0.29.13 or later.
Review affected database service configurations for unexpected dockerImage values.
Examine relevant deployment and host logs for suspicious activity during the exposure window.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.