Dokploy
Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.31.1
Fixed in 0.31.1
Mitigation
Upgrade dokploy to 0.31.1 or later.
References
- Vendor advisory github.com/Dokploy/dokploy/security/advisories…
- Patch github.com/Dokploy/dokploy/pull/5908
- Patch github.com/Dokploy/dokploy/commit/549cdada79a8…
1 more
- Release notes github.com/Dokploy/dokploy/releases/tag/v0.31.…
Timeline
Days relative to CVE publicationFirst public PoC 5.1 days after publication; not in CISA KEV. First PoC: cveForge/CVE-2026-129991 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cveForge/CVE-2026-129991 | 24 Nov 2026 +5.1 d | 24 Nov 2026 | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.