CVE-2026-129987 Dokploy: Authenticated RCE via Database Password Command Substitution

Published Updated

Authenticated Dokploy users able to change database passwords can inject shell commands via backticks, executing code as root.

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-129987?

CVE-2026-129987 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 database password validation used by the MySQL, PostgreSQL, MariaDB, MongoDB, and Redis change-password procedures permits backticks, and the procedures interpolate attacker-controlled passwords into Bash command strings. An authenticated user who can update a database password can trigger command substitution before the database command runs, resulting in arbitrary operating-system command execution with the Dokploy process privileges, which are typically root. This issue is fixed in version 0.31.1.

Weakness: CWE-77

How severe is CVE-2026-129987?

CVE-2026-129987 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-129987?

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

How do I fix CVE-2026-129987?

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-129987 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-9932-qg8x-pr32.

Is CVE-2026-129987 in your software?

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

Check your SBOMs for free