OS command injection in Dokploy lets authenticated members run host commands
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-77.
Summary
Dokploy before 0.31.1 contains an OS command injection flaw in the mount.deleteFileMount function. The user-controlled filePath is passed unquoted to the local removeFileOrDirectory helper, which places it into an rm -rf command, citing CWE-78. An authenticated member with file mount create and delete permissions can run arbitrary commands on the host when deleting a local file mount, without needing a running container.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, mount.deleteFileMount passes a path containing the user-controlled filePath to the local removeFileOrDirectory helper, which interpolates it unquoted into rm -rf, while the remote branch is quoted. An authenticated member with file-mount create and delete permissions can execute arbitrary commands in the host context immediately when deleting a local file mount, without requiring a running container. This issue is fixed in version 0.31.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade dokploy to version 0.31.1, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA dokploy (Dokploy) Fixed in 0.31.1
Timeline
- 2026-11-18 Threatist record created from CVE-2026-129986
- 2026-11-21 EPSS moved to the below the 50th percentile
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the 50th–90th percentile
References
More Dokploy vulnerabilities
- TI-2026-33375 Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret CVSS 3.1CRITICAL 10.0
- TI-2025-33717 Dokploy's Preview Deployments are vulnerable to Remote Code Execution CVSS 3.1CRITICAL 9.8
- TI-2026-94261 OS command injection in Dokploy Nixpacks publishDirectory setting CVSS 3.1CRITICAL 9.9
- TI-2026-94258 Missing authorization in Dokploy Docker WebSocket handlers CVSS 3.1CRITICAL 9.9
- TI-2026-62972 Dokploy: Authenticated OS Command Injection in patch.readRepoDirectories (repoPath) leads to RCE as root CVSS 3.1CRITICAL 9.9
- TI-2026-58871 Dokploy: Git Provider Credential Exposure via Unprotected .one Endpoints and application.one CVSS 3.1CRITICAL 9.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences