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.
Published: 2026-08-10
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on August 10, 2026 at 20:37 UTC.

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 10 Aug 2026 19:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T19:19:39.951Z

Reserved: 2026-08-10T15:28:27.617Z

Link: CVE-2026-72880

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:45:05Z

Weaknesses
  • CWE-78

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