Dokploy
Dokploy: Cross-organization authorization bypass in server.remove allows deletion of another organization's server registration
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.28.7, < 0.29.13
Fixed in 0.29.13
Mitigation
Upgrade dokploy to 0.29.13 or later.
References
- Vendor advisory github.com/Dokploy/dokploy/security/advisories…
- Patch github.com/Dokploy/dokploy/pull/4874
- Patch github.com/Dokploy/dokploy/commit/4aee66b2d1dc…
1 more
- Release notes github.com/Dokploy/dokploy/releases/tag/v0.29.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.