{"id":"CVE-2026-129991","published":"2026-11-18T23:17:19Z","modified":"2026-11-19T16:19:52Z","title":"Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE…","vendor":"Dokploy","product":"dokploy","tier":"core","eol":null,"affectedVersions":[{"vendor":"Dokploy","product":"dokploy","versions":["< 0.31.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-19T15:47:32.507048Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Dokploy, a self-hostable Platform as a Service, has an OS command injection flaw in its backup handling: the backup prefix field is only checked for being non-empty and keeps shell metacharacters, which are then interpolated into rclone upload and retention-cleanup commands. An authenticated organization member with backup permission for a service can run arbitrary commands as root on the Dokploy host or configured remote server by triggering a backup (manual, scheduled, or retention cleanup) for a supported database or service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:46:41Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00524,"percentile":0.45045,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"Known_Cve | Nov 20, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6aff5fb2dac8a5d861c8dea0","created":"2026-11-19"},{"name":"Known_Cve | Nov 19, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6afeb7df5f4757bb323ff99d","created":"2026-11-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/pull/5908","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-129321","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-129321","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-24","earliestUrl":"https://github.com/cveForge/CVE-2026-129991","repos":[{"name":"cveForge/CVE-2026-129991","url":"https://github.com/cveForge/CVE-2026-129991","stars":0,"created":"2026-11-24"}]},"first":{"date":"2026-11-24","source":"PoC-in-GitHub","url":"https://github.com/cveForge/CVE-2026-129991"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-18","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129991","provenance":"source"},{"date":"2026-11-24","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/cveForge/CVE-2026-129991","provenance":"source"}],"speed":{"daysToPublicExploit":6,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":22.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":9.01,"detail":"percentile 0.4505"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-dokploy-cve-2026-129433","parents":[{"from":"CVE-2026-129433","to":"CVE-2026-129991","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["apps/dokploy/server/api/routers/backup.ts","packages/server/src/utils/backups/index.ts","packages/server/src/utils/backups/utils.ts","packages/server/src/utils/backups/web-server.ts"],"commits":["https://github.com/Dokploy/dokploy/commit/b24006e16e95a10ce3daf739d06ac783e5c70ba0","https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a"],"basis":"rarely changed file"}]}]}}