{"id":"CVE-2026-45790","summary":"Dokploy: Invitation Role Escalation Allows Organization Takeover","details":"Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.6, Dokploy's organization.inviteMember tRPC procedure in apps/dokploy/server/api/routers/organization.ts allows a user with member:create permission to invite an account with the owner role, while packages/server/src/services/user.ts allows a privileged self-hosted user to create an account with an arbitrary role, enabling permanent organization takeover because owner roles cannot be demoted. This issue is fixed in version 0.29.6.","aliases":["GHSA-fm9p-wmpw-gxjh"],"modified":"2026-08-20T03:30:41.939188113Z","published":"2026-08-17T21:24:22.499Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45790.json"},"references":[{"type":"WEB","url":"https://github.com/Dokploy/dokploy/releases/tag/v0.29.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45790.json"},{"type":"ADVISORY","url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-fm9p-wmpw-gxjh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45790"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/commit/a07106d649991ea09892220873ea3243766c3e08"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/pull/4475"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dokploy/dokploy","events":[{"introduced":"0"},{"fixed":"a07106d649991ea09892220873ea3243766c3e08"},{"fixed":"d56a17c8aede7fa67435a169d49970f802ab1214"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.29.6"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.29.5","v0.29.4","v0.29.3","v0.29.2","v0.29.1","v0.29.0","v0.28.8","v0.28.7","v0.28.6","v0.28.5","v0.28.4","v0.28.3","v0.28.2","v0.28.1","v0.28.0","v0.27.1","v0.27.0","v0.26.7","v0.26.6","v0.26.5","v0.26.4","v0.26.3","v0.26.2","v0.26.0","v0.26.1","v0.25.11","v0.25.10","v0.25.9","v0.25.8","v0.25.7","v0.25.6","v0.25.5","v0.25.4","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.24.12","v0.24.11","v0.24.10","v0.24.9","v0.24.8","v0.24.7","v0.24.6","v0.24.5","v0.24.4","v0.24.3","v0.24.2","v0.24.1","v0.24.0","v0.23.7","v0.23.6","v0.23.5","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.7","v0.22.6","v0.22.5","v0.22.4","v0.22.3","v0.22.2","v0.22.1","v0.22.0","v0.21.8","v0.21.7","v0.21.0","v0.21.4","v0.21.6","v0.21.5","v0.21.3","v0.21.2","v0.21.1","v0.20.8","v0.20.7","v0.20.6","v0.20.5","v0.20.4","v0.20.3","v0.20.2","v0.20.1","v0.20.0","v0.19.1","v0.18.4","v0.19.0","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.9","v0.17.8","v0.17.7","v0.17.6","v0.17.5","v0.17.4","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.1","v0.15.0","v0.14.1","v0.14.0","v0.13.1","v0.13.0","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.10","v0.10.9","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.1","v0.5.0","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.1.0","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45790.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}