CVE-2026-129433

Dokploy before 0.31.1 OS Command Injection via Compose Backup serviceName

Published Nov 14, 2026 CVSS 4.0 · 9.4 Critical EPSS n/a KEV · Not listed
Description
Dokploy before 0.31.1 contains an OS command injection vulnerability in getComposeContainerCommand() that allows authenticated organization members to execute shell commands via the serviceName parameter. Attackers can store serviceName values with shell metacharacters through backup.create or backup.update tRPC procedures, executing commands as root when scheduled backups run and taking over the host via the mounted Docker socket.

Analysis

AI-generated

Technical impact

Dokploy prior to version 0.31.1 contains an OS command injection flaw in the getComposeContainerCommand() function. The flaw allows an attacker to embed shell metacharacters in the serviceName parameter, which is later executed as root when the backup process runs. This results in full host compromise through the Docker socket, enabling unrestricted system control on the target machine.

Affected Systems

Affected systems are installations of Dokploy from any vendor that were running a version older than 0.31.1. The vulnerability is present in all product releases before 0.31.1 regardless of minor version specifics. Users running any unsupported or self‑hosted Dokploy instance before this release are potentially impacted.

Risk and Exploitability

The CVSS score is 9.4, indicating a critical severity. The EPSS score is not available, but the absence of a low EPSS value does not mitigate the high 9.4 score. The vulnerability is not yet listed in the CISA KEV catalog, yet the flaw can be leveraged by any authenticated organization member with backup privileges. Attackers can trigger the execution by creating or updating a backup through the .create or .update tRPC procedures, causing the malicious serviceName to be interpreted when the backup job runs. The exploitation path requires login to the Dokploy UI or API and access to backup creation or update actions, after which the container runs the injected command under root privileges via the shared Docker socket.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.31.1 or later.
  • Remove or override any scheduled backup tasks that contain untrusted serviceName values before applying the patch.
  • Restrict Docker socket access for Dokploy, ensuring it is only reachable by a minimal set of trusted services or users.

Generated by OpenCVE AI on November 14, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Dokploy before 0.31.1 contains an OS command injection vulnerability in getComposeContainerCommand() that allows authenticated organization members to execute shell commands via the serviceName parameter. Attackers can store serviceName values with shell metacharacters through backup.create or backup.update tRPC procedures, executing commands as root when scheduled backups run and taking over the host via the mounted Docker socket.
Title Dokploy before 0.31.1 OS Command Injection via Compose Backup serviceName
First Time appeared Dokploy
Dokploy dokploy
Weaknesses CWE-78
CPEs cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*
Vendors & Products Dokploy
Dokploy dokploy
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 14, 2026, 12:32 PM
Reserved
Nov 14, 2026, 12:27 PM
Status
Deferred
Published
Nov 14, 2026, 1:17 PM
Modified
Nov 14, 2026, 1:17 PM