{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.29.6"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a07106d649991ea09892220873ea3243766c3e08"
            },
            {
              "fixed": "d56a17c8aede7fa67435a169d49970f802ab1214"
            }
          ],
          "repo": "https://github.com/dokploy/dokploy",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fm9p-wmpw-gxjh"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-45790",
  "modified": "2026-08-20T03:30:41.939188113Z",
  "published": "2026-08-17T21:24:22.499Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Dokploy: Invitation Role Escalation Allows Organization Takeover"
}