# CVE-2026-73305: Budibase privilege escalation in public role assignment API

Source: https://junglewise.ai/threats/cve-2026-73305-budibase-privilege-escalation-in-public-role-assignment-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-13. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-73305 · Severity: high · CVSS 8.8 · Published 2026-08-13

Budibase is a low-code platform for building web applications. An app-scoped builder (a developer with permission to modify specific apps only) can exploit a missing authorization check in the public API's role-assignment endpoint to grant themselves builder access to any other app in the system, or assign themselves admin privileges on any application. This allows an attacker to read, modify, and delete data in apps they were never authorized to access, steal database credentials, and modify automations.

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

## Quick answers

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

**How severe is CVE-2026-73305?** High severity, with a CVSS score of 8.8, published 13 August 2026.

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

**Is there a fix for CVE-2026-73305?** A patch was published on 2026-07-24: version 3.40.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-73305 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-73305?** 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.

## Technical details

The vulnerability is a missing app-level authorization check in the POST /api/public/v1/roles/assign endpoint. The validation function validateGlobalRoleUpdate() only checks for global admin and builder flags but fails to validate app-scoped authorization parameters (appBuilder and role). An authenticated app-scoped builder can call this endpoint with x-budibase-app-id set to an app they control, allowing the authorization middleware to pass. The endpoint then forwards unvalidated appBuilder and role parameters to the SDK, which applies them without verifying the caller has authority over the target apps. An attacker can self-issue a public API key via POST /api/global/self/api_key (which incorrectly accepts app-scoped builders) and then invoke the roles endpoint to escalate themselves to builder or admin of arbitrary apps. The fix is available in version 3.40.0.

## Affected products

- Budibase server <3.40.0

## Identifiers

- CVE-2026-73305
- GHSA-j9fc-w3mr-x6mv

## Timeline

- 2026-07-24: disclosed
- 2026-07-24: patched: version 3.40.0

## References

- [https://github.com/Budibase/budibase/security/advisories/GHSA-j9fc-w3mr-x6mv](https://github.com/Budibase/budibase/security/advisories/GHSA-j9fc-w3mr-x6mv)
- [https://github.com/Budibase/budibase](https://github.com/Budibase/budibase)

## 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 SSO OAuth2 token leakage via user metadata endpoints](https://junglewise.ai/threats/cve-2026-73304-budibase-sso-oauth2-token-leakage-via-user-metadata-endpoints)
