CVE-2026-72734

Dokploy: Cross-organization authorization bypass in server.remove allows deletion of another organization's server registration

Published Aug 10, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). From 0.28.7 until 0.29.13, the server.remove tRPC mutation in apps/dokploy/server/api/routers/server.ts accepts a caller-controlled serverId and calls haveActiveServices, findServerById, removeDeploymentsByServerId, and deleteServer without verifying that currentServer.organizationId equals ctx.session.activeOrganizationId. An authenticated owner or administrator with server:delete in one organization who previously observed another organization's serverId can delete that organization's server registration and deployment records, interrupt Dokploy management, and receive the associated plaintext SSH private key even though server.one denies the same cross-organization read. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy's server.remove API mutation accepts a caller‑supplied serverId and then performs server deletion without checking that the caller’s organization matches the server’s organization. An authenticated owner or administrator from one organization who knows another organization’s serverId can delete that server’s registration and deployment records, interrupt management of the target organization, and obtain the plaintext SSH private key associated with the deleted server. The vulnerability permits unauthorized deletion and credential exposure within a PaaS environment, threatening both availability and confidentiality for affected accounts.

Affected Systems

The flaw exists in Dokploy versions 0.28.7 up to and including 0.29.13. Affected deployments are running the open‑source PaaS distributed under the Dokploy project. No other vendors or products are impacted.

Risk and Exploitability

The CVSS score is 8.4, indicating a high‑severity flaw. Exploitation requires an authenticated user with server:delete privileges in one organization and prior knowledge of an eligible serverId from another organization. The attack vector is remote, carried out over the authenticated API or UI. EPSS data is not available. The vulnerability is not listed in CISA KEV. The impact is significant because it can lead to loss of control over deployments, service interruption, and theft of credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, where the authorization check has been added to the server.remove mutation.
  • Limit the server:delete permission to only trusted administrators and enable logging of server removal actions to detect any unauthorized activity.
  • Audit other API endpoints for missing organization ownership checks and patch any identified gaps.

Generated by OpenCVE AI on August 10, 2026 at 18:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). From 0.28.7 until 0.29.13, the server.remove tRPC mutation in apps/dokploy/server/api/routers/server.ts accepts a caller-controlled serverId and calls haveActiveServices, findServerById, removeDeploymentsByServerId, and deleteServer without verifying that currentServer.organizationId equals ctx.session.activeOrganizationId. An authenticated owner or administrator with server:delete in one organization who previously observed another organization's serverId can delete that organization's server registration and deployment records, interrupt Dokploy management, and receive the associated plaintext SSH private key even though server.one denies the same cross-organization read. This issue is fixed in version 0.29.13.
Title Dokploy: Cross-organization authorization bypass in server.remove allows deletion of another organization's server registration
Weaknesses CWE-639
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 2:00 AM
Reserved
Aug 10, 2026, 1:48 PM
Status
Deferred
Published
Aug 10, 2026, 6:18 PM
Modified
Sep 8, 2026, 8:54 PM