Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Dokploy dashboard
-
DeliveryOpen database Update Password form
-
ExploitSubmit backtick command-substitution password
-
ExecutionBash runs substitution as root
-
ImpactArbitrary OS commands executed on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Dokploy user who can update the password of a MySQL, PostgreSQL, MariaDB, MongoDB, or Redis database service (PR:L) on a version prior to 0.31.1. The concrete trigger is a password value containing the backtick character - e.g. |
| Impact | This is a genuine high-priority issue, not an inflated CVSS number, though one signal tempers it. The input CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, 9.9) shows network reach, low attack complexity, no user interaction, a scope change, and total confidentiality/integrity/availability loss - consistent with command execution as the Dokploy process (typically root) on the host. The one gating factor is PR:L: exploitation requires an authenticated user who can update a database password, so this is not unauthenticated RCE; in single-operator deployments the attacker is already privileged, but in multi-tenant/team Dokploy setups a lower-privilege member with database-management access could escalate to host root, which is where the real risk concentrates. Corroborating signals: the vuln.today Decision label is act_now, and a complete working proof of concept (manual steps plus a Python automation script) is published in the GHSA advisory, so weaponization effort is near zero. Two signals are absent and are called out rather than assumed: no CISA KEV entry appears in the input (no confirmed active exploitation), and no EPSS score was provided, so predicted exploitation probability cannot be weighed here. Net: an authentication-gated but low-complexity, publicly-exploitable root RCE that warrants prompt patching, consistent with the act_now label. |
| Exploit ScenarioDerived | An authenticated Dokploy user with access to a database service opens the Update Password dialog and sets the password to a backtick command-substitution payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, MongoDB, or Redis database password execute arbitrary OS commands with the Dokploy process's privileges, typically root. It is rated 9.9 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) because the impact crosses from the web application into the host operating system, while exploitation needs only a low-privileged authenticated account with database-management access and a password value containing backticks. The issue is fixed in 0.31.1 and is not in CISA KEV, so active exploitation is not confirmed; the GitHub advisory does include a public PoC reference (manual reproduction steps and a Python automation script) that has not been independently verified as working exploit code, and the act_now priority label reflects the high severity, low barrier to exploit for an authenticated user, and root-level outcome.
RemediationAI
Vendor-released patch: upgrade Dokploy to 0.31.1 (release tag v0.31.1), which replaces shell-string interpolation with shell-quote argument quoting in the MySQL, PostgreSQL, MariaDB, MongoDB, and Redis changePassword procedures as shown in commit accc2ffbda3e698bad328cc6e9fe5837a7bafba6 and PR 5910; see https://github.com/Dokploy/dokploy/security/advisories/GHSA-9932-qg8x-pr32 and https://github.com/Dokploy/dokploy/releases/tag/v0.31.1. If upgrading cannot be done immediately, the advisory's suggested interim measure is to tighten DATABASE_PASSWORD_REGEX in packages/server/src/db/schema/utils.ts so it rejects backticks, redirection characters, and semicolons, with the trade-off that legitimate passwords containing those symbols are refused and the underlying shell interpolation remains until the argument-array fix is applied. Because exploitation requires an account authorized to update database passwords, restricting that capability to trusted administrators is a complementary containment step while patched builds are rolled out.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dokploy constructs database password-change commands as shell strings and executes them via execAsync with shell '/bin/bash'. Input validation relies on DATABASE_PASSWORD_REGEX in packages/server/src/db/schema/utils.ts, which permits backticks, the redirection characters > and <, and semicolons while blocking spaces and forward slashes. A password such as id>pwned.txt therefore passes validation, and because the value is interpolated into a double-quoted Bash string, the backticks are evaluated as command substitution on the host before the docker exec mysql/psql/mariadb/mongosh/redis-cli command is finalized. This is the classic CWE-77 command-injection pattern: untrusted data reaches a shell interpreter, and the substitution executes in the host shell rather than inside the database container, which is why the assessed scope is changed. The fix in commit accc2ffbda3e698bad328cc6e9fe5837a7bafba6 adds the shell-quote package and rewrites the affected procedures in apps/dokploy/server/api/routers/mariadb.ts, mongo.ts, mysql.ts, postgres.ts, and redis.ts to pass command arguments as an array through quote(), so metacharacters in the password are escaped instead of interpreted by Bash.
Know when Dokploy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable dashboard API with a simple backtick payload (AV:N/AC:L), but an authenticated DB-management account is required (PR:L); execution escapes the app to run as root on the host (S:C), yielding full C:H/I:H/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 3
Technical POC Analysis
CWE-77: Improper Neutralization of Special Elements used in a Command.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Dokploy, a database management platform, contains a critical command injection vulnerability (CVE-2026-129987) that allows authenticated users with database password update privileges to execute arbitrary operating system commands as the Dokploy process, typically with root privileges. This flaw affects any organization using Dokploy versions prior to 0.31.1, potentially enabling attackers to fully compromise the host server and gain unauthorized access to sensitive data or services. Leadership should prioritize remediation because the vulnerability is severe and can be exploited by low-privileged insiders or external attackers who obtain valid credentials.
Apply vendor patch. If immediate patching is not possible, restrict access to the Dokploy interface to trusted networks, limit database password update privileges to essential personnel, and monitor for anomalous activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate
Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep
Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c
Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing
Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o
Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs
Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on
OS command injection in Dokploy self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment per
Command injection in Dokploy self-hostable PaaS before 0.29.13 lets an authenticated user with backup:read permission ru
EUVD-2026-129320
NVD
CVE.org
EPSS
GitHub
Exploit-DB