CVE-2026-72880

Dokploy: Arbitrary File Write + Remote OS Command Injection via `certificatePath`

Published Aug 10, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the apiCreateCertificate schema in packages/server/src/db/schema/certificate.ts accepts a client-supplied certificatePath, and packages/server/src/services/certificate.ts joins that value to the certificate root without confinement. An authenticated user with certificate create or delete permission can use certificatePath to write attacker-controlled certificate content outside the intended directory or delete an out-of-root directory. This vulnerability is fixed in 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy allows an authenticated user with certificate create or delete permission to supply a certificatePath that is concatenated with the internal certificate root without any validation. This omission permits the attacker to write arbitrary certificate files or delete files outside the intended directory, effectively enabling remote operating-system level file manipulation. The vulnerability is classified as CWE‑78, reflecting the use of an untrusted input to influence file system operations and potentially execute malicious commands.

Affected Systems

The vulnerability exists in the Dokploy Platform as a Service, affecting all installations using versions prior to 0.29.13. Users of earlier releases are susceptible if they have the ability to create or delete certificates through the API.

Risk and Exploitability

With a CVSS score of 9.9 the flaw is critical. The EPSS score is not available, but the lack of a KEV listing does not diminish its severity; the required privilege level is limited to certificate create/delete rights, which while not universal ACLs still grant attackers meaningful capabilities on the host. An attacker can remotely call the vulnerable endpoint, supply a crafted certificatePath, and thereby create or eliminate files wherever the process runs, potentially leading to privilege escalation or complete system takeover.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to v0.29.13 or later, which removes the unsafe pathation logic.
  • Restrict certificate create and delete permissions to high‑trust users or administrative accounts only.
  • Implement application‑level validation to ensure that certificatePath values do not contain relative segments or absolute paths, thereby preventing directory traversal.

Generated by OpenCVE AI on August 10, 2026 at 20:37 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, the apiCreateCertificate schema in packages/server/src/db/schema/certificate.ts accepts a client-supplied certificatePath, and packages/server/src/services/certificate.ts joins that value to the certificate root without confinement. An authenticated user with certificate create or delete permission can use certificatePath to write attacker-controlled certificate content outside the intended directory or delete an out-of-root directory. This vulnerability is fixed in 0.29.13.
Title Dokploy: Arbitrary File Write + Remote OS Command Injection via `certificatePath`
Weaknesses CWE-78
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'}

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:51 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM