Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline

State
Published
Severity
9.9 Critical
Published
Nov 18, 2026
Updated
Nov 19, 2026
Reserved
Nov 16, 2026

Read the record on cve.org

Description

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the Nixpacks publishDirectory build setting accepts shell metacharacters and is interpolated into a docker cp command executed through child_process.exec. An authenticated user with access to an application can execute arbitrary commands on the Dokploy host when triggering a Nixpacks deployment, leading to host compromise through the privileged Docker environment. This issue is fixed in version 0.31.1.

ProductVersions
dokploy Dokploy< 0.31.1 Affected

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.