Skip to main content

Dokploy CVE-2026-129987

| EUVDEUVD-2026-129320 CRITICAL
Command Injection (CWE-77)
2026-11-18 security-advisories@github.com
9.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Dokploy dashboard
  2. Delivery
    Open database Update Password form
  3. Exploit
    Submit backtick command-substitution password
  4. Execution
    Bash runs substitution as root
  5. Impact
    Arbitrary 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. ` id>pwned.txt ` - which passes the vulnerable DATABASE_PASSWORD_REGEX (it allows backticks, redirection, and semicolons while blocking spaces and slashes) and is then interpolated into a double-quoted Bash string run via /bin/bash, causing command substitution. No special or non-default configuration is needed: default deployments are vulnerable, and no user interaction beyond the attacker's own password-update request is required. The limiting factor is the authentication/authorization requirement - the attacker must already hold an account with database-management access - but no additional platform, feature-flag, or version-specific condition constrains it, and the resulting commands run with Dokploy's process privileges, typically root.

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 ` id>pwned.txt `, which passes the permissive DATABASE_PASSWORD_REGEX. Because the password is interpolated into a double-quoted Bash string executed via /bin/bash, the shell performs command substitution and runs the attacker's command on the host - as root under the typical Dokploy deployment - before the database command runs. A full proof of concept, including manual reproduction steps and a Python automation script, is published in the GHSA-9932-qg8x-pr32 advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

dokploy < 0.31.1

Affected Packages

euvd dokploy fix: 0.31.1

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

Vendor (github) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 23:19 EUVD
CVE Published
Nov 18, 2026 - 22:17 cve.org
CRITICAL 9.9

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

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
1.1%
Top 34% exploitable
Prevalence
Low
self-hosted open-source PaaS, niche self-hoster footprint, not enterprise-ubiquitous
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

CVE-2026-24841 CRITICAL POC
9.9 Jan 28

Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate

CVE-2026-24840 HIGH POC
8.0 Jan 28

Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep

CVE-2026-129989 CRITICAL
9.9 Nov 18

Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c

CVE-2026-129991 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing

CVE-2026-129316 CRITICAL
9.9 Nov 18

Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the

CVE-2026-72901 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary

CVE-2026-72735 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o

CVE-2026-45631 CRITICAL
10.0 May 29

Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs

CVE-2026-72902 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on

CVE-2026-72740 CRITICAL
9.9 Aug 10

OS command injection in Dokploy self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment per

CVE-2026-72738 CRITICAL
9.9 Aug 10

Command injection in Dokploy self-hostable PaaS before 0.29.13 lets an authenticated user with backup:read permission ru

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy