CVE-2026-129991 Command injection in dokploy

Published Updated

An authenticated Dokploy member with backup permission can inject shell commands via the backup prefix to run commands as root on the host or remote servers.

CVSS score

Critical

9.9/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
2 on GitHub, unverified
Fix
Available
0.31.1
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-129991?

CVE-2026-129991 is a critical command injection vulnerability in dokploy, published on 18 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-78

How severe is CVE-2026-129991?

CVE-2026-129991 scores 9.9 out of 10 under CVSS 3.1, which is critical severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Which versions are affected by CVE-2026-129991?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-129991?

Upgrade dokploy to 0.31.1 or later. The advisory says that version fixes it.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-129991 being exploited?

There is no known exploitation of CVE-2026-129991 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-2gq3-9q77-8hgv.

Is CVE-2026-129991 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free