Read the docs

OS command injection in Dokploy backup prefix allows root code execution

Priority MEDIUM 44CWE-78Published · 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-78.

Summary

Dokploy before 0.31.1 does not escape the backup prefix field before it is placed into rclone upload and retention-cleanup shell commands, so shell metacharacters are passed through. An authenticated organization member with backup permission for a service can run arbitrary commands as root on the Dokploy host or on the configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or during retention cleanup. The flaw is an OS command injection weakness (CWE-78).

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 backup prefix field is only checked for a nonempty value, and normalizeS3Path preserves shell metacharacters before the prefix is interpolated into rclone upload and retention-cleanup command strings. An authenticated organization member with backup permission for a service can execute arbitrary commands as root on the Dokploy host or configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or performs retention cleanup. This issue is fixed in version 0.31.1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00811 53rd 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

Upgrade dokploy to version 0.31.1, which fixes this issue. The sources list no fixed version for any other product.

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-129991
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-21 EPSS moved to the below the 50th percentile
  4. 2026-11-25 EPSS moved to the 50th–90th percentile

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