
🚨Critical - Budibase Workspace Builder to Global Admin Privilege Escalation (CVE-2026-48150) The /api/public/v1/roles/assign endpoint is guarded by middleware that admits workspace-scoped builders, not just global ones. The controller spreads the request body directly into the SDK, which sets http://builder.global=true or http://admin.global=true without ever checking whether the caller already holds that privilege. A workspace-scoped builder with an API key can scope a single POST to an app they control (via the x-budibase-app-id header) and promote themselves or any other user to global admin - full tenant takeover from an app-level role. The mass-assignment also strips existing scoping from the target's role. Requires an Enterprise license with EXPANDED_PUBLIC_API enabled. 👉Upgrade to Budibase 3.39.0.
Post summary
The post discloses a privilege‑escalation flaw in Budibase’s role‑assignment API that allows workspace‑scoped builders to become global admins, and recommends upgrading to v3.39.0 to patch the issue.


