Dokploy before 0.31.1 OS Command Injection via Compose Backup serviceName

State
Published
Severity
9.4 Critical
Published
Nov 14, 2026
Updated
Nov 16, 2026
Reserved
Nov 14, 2026

Read the record on cve.org

Description

Dokploy before 0.31.1 contains an OS command injection vulnerability in getComposeContainerCommand() that allows authenticated organization members to execute shell commands via the serviceName parameter. Attackers can store serviceName values with shell metacharacters through backup.create or backup.update tRPC procedures, executing commands as root when scheduled backups run and taking over the host via the mounted Docker socket.

ProductVersions
dokploy Dokploybefore 0.31.1 Affected0.31.1 Not Affected

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

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.