Read the docs

Dokploy database password changes allow command injection

Priority MEDIUM 45CWE-77Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00954 59th percentileScored 2026-11-30
Fix Fixed dokploy (Dokploy): 0.31.1

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

VendorProductAffected versionsFixed inStatusSource
Dokploydokploybefore 0.31.10.31.1Patch availableCNA
  • dokploy VendorDokploy Affected before 0.31.1 Fixed in 0.31.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*——Dokploy
  • cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* Versions — — ·Dokploy

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

  1. 2026-11-18 Threatist record created from CVE-2026-129987
  2. 2026-11-19 CISA SSVC decision points changed

References

  • 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
See all 73 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences