CVE-2026-129991
Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root
Mitigation
- Upgrade dokploy to 0.31.1 or later.
Who should check
- Anyone running dokploy < 0.31.1
Vulnerability facts
- Affected
- dokploy < 0.31.1
- Fixed in
- dokploy 0.31.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.52% chance of exploitation in 30 days (percentile 46, 2026-12-05)
- CWE
- CWE-78
- Modified
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the backup prefix field is only checked for a nonempty value, and normalizeS3Path preserves shell metacharacters before the prefix is interpolated into rclone upload and retention-cleanup command strings. An authenticated organization member with backup permission for a service can execute arbitrary commands as root on the Dokploy host or configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or performs retention cleanup. This issue is fixed in version 0.31.1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| dokploy | < 0.31.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-129991. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-129991.md Affected: dokploy < 0.31.1 Fixed in: dokploy 0.31.1 Steps: 1. Search this machine and project for dokploy: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-129991 being exploited?
There is no confirmed exploitation: CVE-2026-129991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-12-05).
How serious is CVE-2026-129991?
Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-129991?
dokploy < 0.31.1.
Is there a fix for CVE-2026-129991?
Yes. Fixed in dokploy 0.31.1. Upgrade dokploy to 0.31.1 or later.
How do I check if I'm affected by CVE-2026-129991?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More dokploy vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.3 | CVE-2026-133520 Dokploy 0.28.0 before 0.31.1 Path Traversal via patch.readRepoDirectories repoPath | Dokploy | EPSS 34% | |
| MEDIUM 6.3 | CVE-2026-129992 Dokploy: Failed builds and backups send every application secret in plain text to notifications | Dokploy | EPSS 24% | |
| CRITICAL 9.9 | CVE-2026-129989 Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline | Dokploy | EPSS 57% | |
| HIGH 8.3 | CVE-2026-129990 Dokploy: Missing authorization on all network.* endpoints (Member -> create/delete docker networks on org servers, cross-org access via serverId) | Dokploy | EPSS 47% | |
| HIGH 8.5 | CVE-2026-129315 Dokploy: Local privilege escalation to root: install.sh makes /etc/dokploy world-writable (0777) | Dokploy | EPSS 8% |