CVE-2026-72875

Dokploy: Remote Code Execution (RCE) via Command Injection in settings.readTraefikFile

Published Aug 10, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, settings.readTraefikFile in apps/dokploy/server/api/routers/settings.ts passes a path accepted by apiReadTraefikConfig to readConfigInPath in packages/server/src/utils/traefik/application.ts, where configPath is interpolated into execAsyncRemote as cat ${configPath}, allowing a user with traefikFiles.read permission to execute arbitrary commands on a managed server through shell metacharacters. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

A user with the traefikFiles.read permission can submit a path to the settings.readTraefikFile API endpoint. That path is interpolated directly into a shell command (cat ${configPath}), allowing the attacker to inject shell metacharacters and execute arbitrary commands on the managed server. This is a classic command injection flaw, classified as CWE‑78. Based on the description, it is inferred that the vulnerability arises from unsanitized user input being passed to a shell invocation. The resulting impact is full remote code execution, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability exists in Dokploy, a self-hostable Platform as a Service, in all releases prior to version 0.29.13. These releases expose the settings.readTraefikFile endpoint and lack protection against command injection. Based on the description, it is inferred that a user with traefikFiles.read rights can exploit it. Therefore any instance of Dokploy running a pre‑0.29.13 version is vulnerable if such permissions are granted.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high severity. The EPSS score is not available, so current data does not indicate a readily exploitable attack vector, yet the lack of a KEV listing suggests no documented exploitation to date. Based on the description, it is inferred that the likely attack path requires a user with traefikFiles.read permission to supply a crafted path containing shell metacharacters; the server then executes those commands in the context of the daemon. This highlights that the vulnerability can be leveraged if an attacker has the necessary permissions and access to the API endpoint. The high severity combined with the potential for broad impact underscores the need for immediate remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later to apply the patch that sanitizes the path argument.
  • If upgrading immediately is not possible, remove traefikFiles.read permission from all non‑trusted users to prevent the injection from being used.
  • As a temporary measure, disable or restrict access to the settings.readTraefikFile API endpoint or constrain it to allow only safe, predefined directories for configuration reading.
  • Monitor application logs for unexpected command execution patterns and review user permissions regularly.

Generated by OpenCVE AI on August 10, 2026 at 21:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, settings.readTraefikFile in apps/dokploy/server/api/routers/settings.ts passes a path accepted by apiReadTraefikConfig to readConfigInPath in packages/server/src/utils/traefik/application.ts, where configPath is interpolated into execAsyncRemote as cat ${configPath}, allowing a user with traefikFiles.read permission to execute arbitrary commands on a managed server through shell metacharacters. This issue is fixed in version 0.29.13.
Title Dokploy: Remote Code Execution (RCE) via Command Injection in settings.readTraefikFile
Weaknesses CWE-78
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 2:38 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM