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).
| Product | Versions | Fixed 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.
Sources and references
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-9932-qg8x-pr32 — CVE Program
- https://github.com/Dokploy/dokploy/pull/5910 — CVE Program
- https://github.com/Dokploy/dokploy/commit/accc2ffbda3e698bad328cc6e9fe5837a7bafba6 — CVE Program
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.1 — CVE Program
Weaknesses (CWE): CWE-77
Relevant change history
Published
Advisory published.