# CVE-2026-48150: Budibase privilege escalation in roles assignment API

Source: https://junglewise.ai/threats/cve-2026-48150-budibase-privilege-escalation-in-roles-assignment-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-27. Updated: 2026-06-12  
License: CC BY 4.0 with a link back

CVE-2026-48150 · Severity: critical · CVSS 9 · Published 2026-05-27

Budibase, a platform for building internal business applications, contains a vulnerability that allows users with limited 'builder' permissions to elevate their own privileges to global administrator. By sending a specially crafted request to the public API, an authorized app builder can grant themselves or others full control over the entire organization's account. This could lead to unauthorized access to all applications, sensitive data sources, user management, and system configurations.

Technologies: [@budibase/server (npm)](https://junglewise.ai/threats/technologies/budibase-server). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-48150 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-48150 being exploited in the wild.

**How severe is CVE-2026-48150?** Critical severity, with a CVSS score of 9, published 27 May 2026.

**Which products and versions are affected?** @budibase/server (npm) < 3.39.0, SEMVER:introduced=0,fixed=3.39.0.

**Is there a fix for CVE-2026-48150?** Yes. @budibase/server (npm): upgrade to 3.39.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-48150 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-48150?** Check whether you run @budibase/server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @budibase/server (npm): upgrade to 3.39.0 or later

  ```sh
  npm install @budibase/server@3.39.0
  ```


## Technical details

A privilege escalation vulnerability exists in the `/api/public/v1/roles/assign` endpoint of Budibase. The endpoint is protected by the `builderOrAdmin` middleware, which incorrectly allows workspace-scoped builders (users restricted to specific apps) to access the role assignment logic. The underlying SDK implementation fails to verify if the caller possesses the permissions they are attempting to grant. Consequently, an attacker with a workspace-scoped builder role and an API key can perform a mass-assignment attack to set `builder.global` or `admin.global` to true for any user ID, including their own. This issue is present in versions prior to 3.39.0 and requires the Enterprise 'EXPANDED_PUBLIC_API' feature to be enabled.

## Affected products

- Budibase Budibase < 3.39.0

## Identifiers

- CVE-2026-48150
- GHSA-6xp4-cf37-ppjh

## Timeline

- 2026-05-21: disclosed
- 2026-05-27: advisory: NVD publication
- 2026-06-12: patched: GitHub Advisory published/reviewed

## References

- [https://api.github.com/users/adrgs](https://api.github.com/users/adrgs)
- [https://github.com/adrgs](https://github.com/adrgs)
- [https://api.github.com/users/adrgs/gists%7B/gist_id%7D](https://api.github.com/users/adrgs/gists%7B/gist_id%7D)
- [https://api.github.com/users/adrgs/repos](https://api.github.com/users/adrgs/repos)
- [https://avatars.githubusercontent.com/u/11564377?v=4](https://avatars.githubusercontent.com/u/11564377?v=4)
- [https://api.github.com/users/adrgs/events%7B/privacy%7D](https://api.github.com/users/adrgs/events%7B/privacy%7D)

## Related threats

- [Budibase S3 signed upload URL issuance via attachments endpoint](https://junglewise.ai/threats/cve-2026-54356-budibase-s3-signed-upload-url-issuance-via-attachments-endpoint)
- [Budibase automation SSRF in webhook and integration steps](https://junglewise.ai/threats/cve-2026-35219-budibase-automation-ssrf-in-webhook-and-integration-steps)
- [Budibase S3 presigned URL authorization regression](https://junglewise.ai/threats/cve-2026-72859-budibase-s3-presigned-url-authorization-regression)
- [Budibase MySQL DESCRIBE backtick injection via multipleStatements](https://junglewise.ai/threats/cve-2026-73408-budibase-mysql-describe-backtick-injection-via-multiplestatements)
- [Budibase privilege escalation in public role assignment API](https://junglewise.ai/threats/cve-2026-73305-budibase-privilege-escalation-in-public-role-assignment-api)
