CVE-2026-72879

Dokploy: Command Injection via Registry Credentials in Swarm Upload

Published Aug 10, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 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.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'}

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 11, 2026, 2:43 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM