Dokploy database password changes allow command injection
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 versions before 0.31.1 are affected. The database password validation used by the MySQL, PostgreSQL, MariaDB, MongoDB, and Redis change-password procedures permits backticks, and the passwords are placed into Bash command strings (CWE-77). An authenticated user who can update a database password can run arbitrary operating-system commands with Dokploy process privileges, which are typically root.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the database password validation used by the MySQL, PostgreSQL, MariaDB, MongoDB, and Redis change-password procedures permits backticks, and the procedures interpolate attacker-controlled passwords into Bash command strings. An authenticated user who can update a database password can trigger command substitution before the database command runs, resulting in arbitrary operating-system command execution with the Dokploy process privileges, which are typically root. This issue is fixed in version 0.31.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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
Update dokploy to version 0.31.1, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA dokploy (Dokploy) Fixed in 0.31.1
Timeline
- 2026-11-18 Threatist record created from CVE-2026-129987
- 2026-11-19 CISA SSVC decision points changed
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-94260 OS command injection in Dokploy lets authenticated members run host commands 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences