CVE-2026-129991
CVE-2026-129991 · Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root
CVSS 9.9 · Critical · EPSS 0.5% · Public exploit
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- dokployNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
dokploy
- Versions
- < 0.31.1: Affected
No fix published
Original sources
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv
- https://github.com/Dokploy/dokploy/pull/5908
- https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-129991