Critical vulnerabilities
3 critical vulnerabilities in Dokploy
3 vulnerabilities rated critical (CVSS 9.0 or higher) found on 17 November 2026: Remote code execution in servers and applications.
- 3 critical
Remote code execution in Dokploy · Servers and applications
CVE-2026-129991
Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root
- Severity
- Critical 9.9
- Published
- 12 Nov 2026
- Fixed in
- 0.31.1
- Exploit chance
- 0.9% in the next 30 daysHigher than 61% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- OS command injection (CWE-78)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
The prefix field of a Backup (used to namespace backup files within an S3-compatible destination) is validated only as a non-empty string, with no restriction on shell metacharacters, and is interpolated directly into the rclone command line used to upload backups and to prune old ones. The value sits inside a double-quoted rclone argument (or, in the retention-cleanup path, with no quoting at all), so an authenticated organization member with permission to configure backups for a service can inject arbitrary shell commands that execute as root on the Dokploy host (or configured remote server) as soon as a backup runs - manually or on its schedule.
Field definition: packages/server/src/db/schema/backups.ts - prefix: text("prefix").notNull(), validated as z.string().min(1) with no character restriction (unlike branch-name fields elsewhere in the schema, which do carry a restrictive regex).
| Software | Affected versions |
|---|---|
| DokployServers and applications |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129991
- GitHub Advisory Database https://github.com/advisories/GHSA-2gq3-9q77-8hgv
- github.com https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv
Remote code execution in Dokploy · Servers and applications
CVE-2026-129986
OS Command Injection via filePath in mount.deleteFileMount → HOST RCE
- Severity
- Critical 9.9
- Published
- 12 Nov 2026
- Fixed in
- 0.31.1
- Exploit chance
- 0.9% in the next 30 daysHigher than 61% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
Deleting a file mount runs rm -rf where the path is built by interpolating the mount's user-controlled filePath unquoted into a shell command executed by execAsync. filePath is stored with no shell-safe validation (z.string().optional()), so an authenticated user who can create and delete a mount on a service they own obtains arbitrary command execution in the Docker-privileged host context → root on the node.
Unlike the DB changePassword family, this sink has no running-container precondition the command runs as soon as the mount is deleted which makes it the easiest to trigger.
packages/server/src/services/mount.ts:280-295 deleteFileMount:
packages/server/src/utils/filesystem/directory.ts:38-45 removeFileOrDirectory:
The remote branch (and the sibling updateFileMount, which uses … > ${quote([fullPath])} ) correctly wrap the value with shell-quote's quote(). The local branch the default single-node install driving its own host passes fullPath straight into rm -rf ${path}.
| Software | Affected versions |
|---|---|
| DokployServers and applications |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129986
- GitHub Advisory Database https://github.com/advisories/GHSA-945r-hp2m-928m
- github.com https://github.com/Dokploy/dokploy/security/advisories/GHSA-945r-hp2m-928m
Remote code execution in Dokploy · Servers and applications
CVE-2026-129985
RCE via Command Injection in Schedule appName
- Severity
- Critical
- Published
- 12 Nov 2026
- Fixed in
- 0.31.1
- Exploit chance
- 0.6% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Command injection (CWE-77)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- Project: Dokploy
- Version: v0.29.4
- Severity: Critical (10.0)
- Vulnerability Type: Command Injection (CWE-77)
When creating or updating a schedule in Dokploy, the appName can be provided by the user. This appName is used to construct a directory path that is then used in a shell command (mkdir -p) without proper escaping or sanitization. This leads to a Remote Code Execution (RCE) vulnerability.
Full system compromise. An attacker can execute arbitrary commands on the host system with root-level access (as Dokploy usually runs with high privileges to manage Docker).
| Software | Affected versions |
|---|---|
| DokployServers and applications |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129985
- GitHub Advisory Database https://github.com/advisories/GHSA-8m32-h7qx-8r79
- github.com https://github.com/Dokploy/dokploy/security/advisories/GHSA-8m32-h7qx-8r79
From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.