Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.8, the getRegistryCommands() function in packages/server/src/utils/cluster/upload.ts interpolates registry.password and registry.registryUrl directly into a shell command without escaping. An authenticated user with project access can configure malicious registry credentials and trigger a swarm deployment to execute arbitrary OS commands on the Dokploy server, read or modify host files, and access other containers through Docker. This issue is fixed in version 0.29.8.
Published: 2026-08-10
Score: 9.4 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dokploy’s getRegistryCommands() function was building a shell command by directly inserting the registry password and URL. An attacker who can configure project registry credentials can inject shell code, causing the swarm deployment process to execute arbitrary OS commands on the host. This can lead to read or modification of host files, illicit access to other containers via Docker, and full compromise of the Dokploy instance. The weakness is a classic command injection flaw, CWE‑78.

Affected Systems

The affected product is the Dokploy Platform as a Service (PaaS). Any installation of Dokploy prior to version 0.29.8 is vulnerable, regardless of the specific environment or host configuration. Versions 0.29.8 and later contain the fix and are not affected.

Risk and Exploitability

The CVSS score of 9.4 marks the issue as critical, but the EPSS score is not available, indicating that a precise exploitation likelihood is unknown. The vulnerability is not listed in CISA’s KEV catalog. Attackers must be authenticated project users who can edit registry credentials; once such a role is obtained, they can trigger a swarm deployment that will run the injected command. Because this requires only standard Docker and cluster privileges, the risk to the host is high, and the potential impact spans confidentiality, integrity, and availability of the entire system.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to v0.29.8 or newer to apply the vendor fix.
  • Revoke or remove any registry credentials that have been set to malicious values.
  • Restrict project-level permissions to ensure only trusted users can modify registry credentials and enforce a least‑privilege access policy.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

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

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.8, the getRegistryCommands() function in packages/server/src/utils/cluster/upload.ts interpolates registry.password and registry.registryUrl directly into a shell command without escaping. An authenticated user with project access can configure malicious registry credentials and trigger a swarm deployment to execute arbitrary OS commands on the Dokploy server, read or modify host files, and access other containers through Docker. This issue is fixed in version 0.29.8.
Title Dokploy: Command Injection via Registry Credentials in Swarm Upload
Weaknesses CWE-78
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T19:14:52.908Z

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

Link: CVE-2026-72879

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:00:04Z

Weaknesses
  • CWE-78

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