Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with certificate permission
-
DeliverySubmit crafted certificatePath payload
-
ExploitPath escapes root / injects shell metacharacters
-
ExecutionServer runs echo/rm shell command
-
PersistWrite files or execute host commands
-
ImpactCompromise underlying host
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 account that holds the certificate create OR delete permission, and a target running a version earlier than 0.29.13 where apiCreateCertificate accepts the client-supplied certificatePath and joins it to the certificate root without confinement. The attacker-supplied certificatePath must reach the unquoted shell commands in certificate.ts (echo ... base64 -d > path, or rm -rf certDir). Limiting factors: this is not exploitable by anonymous or unprivileged users (PR:L - a specific certificate permission is needed), it does not require user interaction, and instances on 0.29.13+ are not affected; the practical blast radius depends on how liberally certificate management permissions are delegated in the deployment. |
| Impact | The signals are largely consistent and point to a genuine high priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, 9.9) indicates a network-reachable, low-complexity attack that needs only low privileges, with a scope change reflecting that command execution escapes the application into the host OS. The limiting factor is real but modest: the attacker must already hold an authenticated account with certificate create or delete permission (PR:L), so this is not anonymous internet-wide exploitation, which tempers mass-exploitation risk. No EPSS score, KEV listing, or SSVC decision data was provided, so automatability and in-the-wild status cannot be asserted; the absence of a KEV entry means active exploitation is not confirmed. However, a public patch, PR, and commit expose the exact vulnerable sink, which meaningfully lowers the effort to build a working exploit, so operators should not wait for an EPSS uptick - any team running an internet-exposed Dokploy instance with multiple privileged users should treat patching as urgent. The mismatch worth flagging: CWE-78 (command injection) and the description's emphasis on file write/delete traversal describe overlapping-but-distinct impacts; the fix diff confirms both are in play because the path reaches an unquoted shell context. |
| Exploit ScenarioDerived | An authenticated Dokploy user who has been granted certificate create permission submits a new certificate with a certificatePath containing directory-traversal sequences and shell metacharacters. When Dokploy builds and runs the certificate-writing shell command on the host, the injected content executes, letting the attacker write files outside the certificate directory or run arbitrary OS commands as the Dokploy service account. No public proof-of-concept is identified, but the public fix commit reveals the exact vulnerable sink, lowering exploit-development effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Server-side command injection and path traversal in Dokploy, a self-hostable Platform-as-a-Service, allows an authenticated user holding certificate create or delete permission to supply a crafted certificatePath that is concatenated into shell commands without confinement or escaping. In versions before 0.29.13, this permits writing attacker-controlled content outside the certificate root, deleting arbitrary out-of-root directories, and - because the value reaches unquoted shell invocations (echo ... base64 -d > path, rm -rf certDir) - executing operating-system commands on the host. No public exploit has been identified at time of analysis, though the fixing pull request and commit are public; the flaw is fixed in 0.29.13.
RemediationAI
Vendor-released patch: 0.29.13 - upgrade every Dokploy instance to v0.29.13 or later, per the release at https://github.com/Dokploy/dokploy/releases/tag/v0.29.13 and advisory GHSA-q9qw-ch66-5hw3. If immediate upgrade is not possible, the highest-value compensating control is to restrict who holds certificate create and delete permissions to a minimal set of fully trusted administrators, since exploitation requires that permission (side effect: other users lose self-service certificate management). Additionally, place the Dokploy management interface behind a VPN or IP allowlist to shrink the reachable attacker population, and audit certificate records for suspicious certificatePath values or unexpected files written outside the certificate root. These are stopgaps only; because the flaw is server-side shell injection, no configuration flag fully neutralizes it, and the code-level fix (shell-quote quoting introduced in PR #4873) is the sole complete remedy.
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 (cpe:2.3:a:dokploy:dokploy) is a Node.js/TypeScript self-hosted PaaS that manages TLS certificates by shelling out to a remote host. The apiCreateCertificate Zod schema in packages/server/src/db/schema/certificate.ts accepts a client-supplied certificatePath, and packages/server/src/services/certificate.ts uses it to build a certificate directory that is then interpolated directly into shell strings executed via execAsyncRemote (e.g. 'mkdir -p ${certDir}', 'echo "..." | base64 -d > "${crtPath}"', and 'rm -rf ${certDir}'). This is classified CWE-78 (OS Command Injection): because the path is neither confined to the root nor shell-escaped, both directory-traversal sequences and shell metacharacters in certificatePath are honored. The fix wraps every interpolated path in shell-quote's quote() across certificate.ts, mount.ts, backup.ts, and destination.ts, and adds a VOLUME_NAME_REGEX allowlist for related volume operations - confirming the root cause was unsanitized user input flowing into shell commands.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable web action, low complexity, but requires an authenticated certificate permission (PR:L); shell injection escapes the app to the host OS (S:C) with full C/I/A impact.
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 apiCreateCertificate schema in packages/server/src/db/schema/certificate.ts accepts a client-supplied certificatePath, and packages/server/src/services/certificate.ts joins that value to the certificate root without confinement. An authenticated user with certificate create or delete permission can use certificatePath to write attacker-controlled certificate content outside the intended directory or delete an out-of-root directory. This vulnerability is fixed in 0.29.13.
Executive ViewAI
Dokploy versions prior to 0.29.13 contain a critical vulnerability allowing any user with certificate management permissions to execute arbitrary commands on the underlying host infrastructure. This exposes all deployed applications and infrastructure to compromise by any administrator account with these privileges-whether through malicious insiders or accounts compromised via other vectors. With no public exploit identified at time of analysis, the primary risk stems from trusted insiders or previously compromised administrative credentials.
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-55788
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB