{"id":"CVE-2026-48150","published":"2026-05-27T16:58:18Z","modified":"2026-05-27T17:57:41Z","title":"Budibase: Workspace-scoped builder escalates to global admin via /api/public/v1/roles/assign","vendor":"Budibase","product":"budibase","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22374,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-6xp4-cf37-ppjh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":4.47},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"budibase","affectedVersions":[{"vendor":"Budibase","product":"budibase","versions":["< 3.39.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-27T17:57:22.017981Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@budibase/server","vulnerableRanges":["<3.39.0"],"patched":["3.39.0"],"from":["GHSA-6xp4-cf37-ppjh"],"provenance":"source"}],"summary":{"text":"Budibase, an open-source low-code platform, has a flaw in its public API endpoint /api/public/v1/roles/assign, where the builderOrAdmin middleware accepts workspace-scoped builders as well as global builders and the controller passes request body fields straight into the role-granting SDK call. An attacker who holds a workspace-scoped builder role with an API key, on a deployment with an Enterprise license enabling the expanded public API feature, can use a single request to grant themselves or other users global builder or admin rights across the whole tenant.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:20Z"},"euvd":{"id":"EUVD-2026-32590","exploited":false,"provenance":"source"}}