{
  "id": "CVE-2026-48150",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48150",
  "published_at": "2026-05-27T16:58:18.979Z",
  "title": "Budibase: Workspace-scoped builder escalates to global admin via /api/public/v1/roles/assign",
  "vendor": "Budibase",
  "product": "budibase",
  "cvss": {
    "score": 9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Budibase is an open-source low-code platform. Prior to 3.39.0, /api/public/v1/roles/assign is guarded by the builderOrAdmin middleware, which passes any user who is a builder for the app id in the x-budibase-app-id header. That check admits both global builders and workspace-scoped builders (builder.apps set but builder.global unset). The controller then spreads the request body into the SDK call, and the SDK grants builder.global=true or admin.global=true on whichever user ids the caller supplies. Bob, a workspace-scoped builder with an API key, promotes himself or any other user to global admin with one POST. The whole flow is tenant-wide privilege escalation from an app-level role, available to anyone with an Enterprise license that unlocks the EXPANDED_PUBLIC_API feature. This vulnerability is fixed in 3.39.0.",
  "cwe": "CWE-915",
  "cvss_by_source": {
    "cna": 9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Budibase",
        "product": "budibase",
        "ranges": [
          "\u003c 3.39.0"
        ],
        "fixed_in": [
          "3.39.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade budibase to 3.39.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-6xp4-cf37-ppjh"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
