Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as org member
-
DeliveryInject serviceName via backup.create/update
-
ExploitStore shell metacharacters bypassing Zod
-
ExecutionScheduled cron runs backup as root
-
ImpactTake over host via mounted Docker socket
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 | Requires an authenticated member-level account (PR:L) in a Dokploy organization with access to at least one project, plus any existing destinationId (no destination credentials needed) - admin/owner privileges are NOT required. The vulnerable path is the compose backup feature: serviceName passed to backup.create/backup.update is interpolated into getComposeContainerCommand without validation or shell-escaping, while sibling fields (appName, additionalFlags) are validated. Full root-level host takeover specifically depends on the standard installation mode where /var/run/docker.sock is mounted into the Dokploy container. Code execution fires automatically at the next scheduled backup cron tick (default */1 * * * *, ~60 seconds), requiring no further attacker interaction and no victim user interaction (UI:N). Limiting factors for defenders: exploitation is gated on obtaining member-level org access and on the backup/scheduler being enabled; environments that restrict member accounts or do not expose the Docker socket reduce blast radius. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and score of 9.4 are corroborated by the mechanism: an authenticated organization member (PR:L) remotely injects shell metacharacters through the serviceName field of the backup.create/backup.update tRPC procedures, which is interpolated unescaped into a bash command and runs as root at the next cron tick, then pivots to full host takeover via the mounted /var/run/docker.sock. The vuln.today Decision label is act_now and a patch is available, so remediation should be treated as urgent. A complete, self-contained working Python exploit and a step-by-step PoC are published directly in the GHSA advisory, so weaponization effort is effectively zero for anyone who already holds a member account. The main mitigating signal is the authentication requirement (PR:L): this is not pre-auth, so exposure is bounded to parties who can obtain member-level access to an organization - the GHSA stresses that no admin/owner role is needed, lowering the bar considerably in multi-tenant or shared deployments. Conflicting/missing data to note explicitly: no CISA KEV entry is present in the input, so this should NOT be described as actively exploited in the wild; and no EPSS score was provided, so probabilistic exploitation likelihood cannot be quantified here - the act_now label and public exploit code, not an EPSS figure, drive the urgency. |
| Exploit ScenarioDerived | A low-privilege organization member with access to a single project calls backup.create (or backup.update) for a compose backup, setting serviceName to a value containing shell metacharacters (e.g. 'svc" ; OUTPUT=$(id) ; curl ... ; echo "') against any existing destinationId. Because the default schedule is */1 * * * *, within about 60 seconds the injected command executes as root inside the Dokploy container, and via the mounted Docker socket the attacker takes over the host and harvests all managed environment variables, deploy keys, and database credentials. A full working Python PoC and HTTP request sequence are published in the GHSA advisory, and the network vector with low attack complexity (AV:N/AC:L) makes execution reliable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
Authenticated organization members can execute shell commands as root on Dokploy deployments before 0.31.1 by storing shell metacharacters in the serviceName field of a compose backup; the payload runs automatically at the next scheduled backup tick and, on standard installations with the Docker socket mounted, can lead to host takeover. Exploitation requires only member-level access plus a valid destinationId, not admin or owner rights, and no victim interaction. A public proof-of-concept is documented in the vendor advisory, while active exploitation is not confirmed (no CISA KEV entry).
RemediationAI
Upgrade Dokploy to version 0.31.1, which contains the vendor fix that shell-quotes the serviceName-derived Docker label filters and related rclone paths; the patch is tracked in PR https://github.com/Dokploy/dokploy/pull/5908 and commit https://github.com/Dokploy/dokploy/commit/b24006e16e95a10ce3daf739d06ac783e5c70ba0, with the release at https://github.com/Dokploy/dokploy/releases/tag/v0.31.1 and advisory at https://github.com/Dokploy/dokploy/security/advisories/GHSA-j329-jw7j-rxjm. If immediate upgrade is not possible, restrict Dokploy organization membership and project access to trusted users, disable compose backup schedules or the backup feature where it is not required, and remove the /var/run/docker.sock mount from the Dokploy container where operationally feasible, accepting that Docker management functionality may be impaired; these measures reduce exposure but do not fully remediate the command 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 is a self-hosted PaaS/application deployment platform whose server-side TypeScript code uses tRPC procedures and Zod schemas. The flaw is CWE-78: getComposeContainerCommand in packages/server/src/utils/backups/utils.ts interpolates the serviceName value directly into a docker ps shell command string without validation or shell-escaping, and the backup path executes the resulting command through execAsync with /bin/bash. The backup.create and backup.update schemas accept serviceName as an unrestricted z.string(), while sibling shell-adjacent fields such as appName and additionalFlags have stricter validators. A stored malicious serviceName is executed when the scheduled backup cron fires, which defaults to every minute. Because standard Dokploy installations mount /var/run/docker.sock inside the container, commands running as root in the container can translate into host-level control. The CPE cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* is consistent with all versions before the 0.31.1 fix, which applies shell-quote's quote() to the affected command construction.
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:H/SI:H/SA:H
Network tRPC vector with low complexity, member auth gives PR:L; code runs as root and escapes the container to the host via Docker socket, so S:C with full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Dokploy before 0.31.1 contains an OS command injection vulnerability in getComposeContainerCommand() that allows authenticated organization members to execute shell commands via the serviceName parameter. Attackers can store serviceName values with shell metacharacters through backup.create or backup.update tRPC procedures, executing commands as root when scheduled backups run and taking over the host via the mounted Docker socket.
Articles & Coverage 1
Technical POC Analysis
CWE-78 OS command injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Dokploy deployments prior to version 0.31.1 are vulnerable to a critical flaw that allows any authenticated organization member to run shell commands as root, potentially leading to full host takeover on standard Docker installations. This means a low-privileged insider or compromised member account could escalate to complete control of the infrastructure, compromising confidentiality, integrity, and availability of all hosted services and data.
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-125911
GHSA-gfc5-hfj7-fjwc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB