Read the docs

OS command injection in Dokploy Nixpacks publishDirectory setting

Priority HIGH 76CWE-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 is affected. The Nixpacks publishDirectory build setting accepts shell metacharacters and passes them unescaped into a docker cp command run through child_process.exec, an OS command injection flaw (CWE-78). An authenticated user with access to an application can run arbitrary commands on the Dokploy host by triggering a Nixpacks deployment, which can lead to host compromise through the privileged Docker environment.

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

Description from the CNA

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the Nixpacks publishDirectory build setting accepts shell metacharacters and is interpolated into a docker cp command executed through child_process.exec. An authenticated user with access to an application can execute arbitrary commands on the Dokploy host when triggering a Nixpacks deployment, leading to host compromise through the privileged Docker environment. This issue is fixed in version 0.31.1.

Why it matters now

Exploitation Proof of concept 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
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

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 the issue.

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

  • Fix · CNA dokploy (Dokploy) Fixed in 0.31.1

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-129989
  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-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
  • TI-2026-58871 Dokploy: Git Provider Credential Exposure via Unprotected .one Endpoints and application.one CVSS 3.1CRITICAL 9.6
See all 73 →

Sources

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