{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.40.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "661fe55d609404d073eea86702e0bde7942c3f10"
            }
          ],
          "repo": "https://github.com/budibase/budibase",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-j82g-67x3-xcwh"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-640"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72856.json"
  },
  "details": "Budibase versions before 3.40.0 contain an authorization/authentication bypass in the PUT /api/global/users/tenant/owner (changeTenantOwnerEmail) endpoint. On self-hosted instances (SELF_HOSTED or DISABLE_ACCOUNT_PORTAL set), the cloudRestricted middleware is a no-op and the route is protected only by a general authentication check, so any authenticated user — including a lowest-privilege BASIC app user — can reassign the tenant account-holder (top-privilege admin) email to an attacker-controlled address. The attacker can then use the public password-reset flow to take over the admin account, leading to full administrative access.",
  "id": "CVE-2026-72856",
  "modified": "2026-08-15T11:31:07.805467259Z",
  "published": "2026-08-13T21:54:45.304Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-j82g-67x3-xcwh"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72856.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72856"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/budibase-before-authentication-bypass-via-tenant-owner-email"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Budibase before 3.40.0 Authentication Bypass via Tenant Owner Email"
}