Vulnerability · Published Aug 10, 2026 · Assigned by GitHub_M
CVE-2026-72879Dokploy: Command Injection via Registry Credentials in Swarm Upload
Critical 9.4
In plain English
A critical-severity OS command injection in dokploy from Dokploy. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-78 · 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
References
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-prwq-2mcm-mvhr x_refsource_CONFIRM
- https://github.com/Dokploy/dokploy/pull/4579 x_refsource_MISC
- https://github.com/Dokploy/dokploy/commit/1f4f94042f1d874349c42d8ae7fee51346cd086e x_refsource_MISC
- https://github.com/Dokploy/dokploy/releases/tag/v0.29.8 x_refsource_MISC