Read the docs

OS command injection in Dokploy Compose Backup serviceName

Priority MEDIUM 47CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Dokploy before 0.31.1 contains an OS command injection flaw (CWE-78) in getComposeContainerCommand(). An authenticated organization member can store a serviceName value with shell metacharacters through the backup.create or backup.update procedures, and the injected commands run as root when scheduled backups execute, which lets the attacker take over the host through the mounted Docker socket.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02399 84th percentileScored 2026-11-16
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 or later, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

  • Fix · CNA dokploy (Dokploy) Fixed in 0.31.1

Timeline

  1. 2026-11-14 Threatist record created from CVE-2026-129433
  2. 2026-11-14 Alias added: GHSA-gfc5-hfj7-fjwc
  3. 2026-11-16 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-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
  • TI-2026-51118 Dokploy: Remote Code Execution via volume-backup CVSS 3.1CRITICAL 9.9
  • TI-2026-51110 Improper privilege management in dokploy CVSS 3.1CRITICAL 9.9
See all 62 →

Sources