Skip to content
DayZeroHub
Critical CVSS 9.9CVE-2026-129987

Dokploy: authenticated remote command execution via database password (CVE-2026-129987)

Dokploy dokploy

Summary

Dokploy versions prior to 0.31.1 allow an authenticated user to execute arbitrary operating-system commands through the database password change procedures. The source rates the issue as critical (CVSS 3.1: 9.9) and states it is fixed in version 0.31.1.

What happened

Dokploy is a free, self-hostable Platform as a Service (PaaS). In versions prior to 0.31.1, the password validation used by the MySQL, PostgreSQL, MariaDB, MongoDB and Redis change-password procedures permits backticks, and those procedures interpolate the attacker-controlled password 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 privileges of the Dokploy process, which are typically root. The weakness is classified as CWE-77. Identifier: CVE-2026-129987 (advisory GHSA-9932-qg8x-pr32).

Why it matters

The source states the commands run with the privileges of the Dokploy process, typically root. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) gives a score of 9.9, critical severity: network access, low complexity, low privileges, no user interaction, and high impact on confidentiality, integrity and availability. CISA's KEV catalog does not list this vulnerability as actively exploited, and the source provides no evidence of exploitation.

Affected products and versions

Dokploy (vendor: Dokploy), versions prior to 0.31.1 (< 0.31.1).

ProductVersionsFixed in
Dokploy dokploy< 0.31.1—

Action recommended by the source

The vendor states the issue is fixed in version 0.31.1. The source's references include the GitHub security advisory (GHSA-9932-qg8x-pr32), pull request #5910, the fix commit, and the v0.31.1 release in the Dokploy repository. The source does not mention other mitigations.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-77

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources