Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @budibase/server
  4. ›
  5. GHSA-j9fc-w3mr-x6mv

GHSA-j9fc-w3mr-x6mv: Budibase: Privilege escalation via public role assignment API missing app-level authorization

July 24, 2026

Budibase 3.39.19 (commit 03fbabae4) is affected by a privilege-escalation / missing-authorization flaw in the public role-assignment API. An app-scoped builder (a user who builds only specific apps — user.builder.apps = [appA], not a global builder or admin) can grant themselves builder access to ANY other app in the tenant, or assign themselves/any user an arbitrary data-plane role (e.g. ADMIN) in any app, by calling POST /api/public/v1/roles/assign. The endpoint only authorizes the two global flags (admin, builder); the per-app appBuilder and role:{appId,roleId} grant vectors are passed to the backend without any authorization check that the caller controls the target app. Reproduced in a local authorized lab using the verbatim authorization-gate and SDK logic.

This is an incomplete fix of the role-assignment hardening in commit d63d1d9054 (“Inline public user global role validation”), which only ever validated the global flags.

References

  • github.com/Budibase/budibase/releases/tag/3.40.0
  • github.com/Budibase/budibase/security/advisories/GHSA-j9fc-w3mr-x6mv
  • github.com/advisories/GHSA-j9fc-w3mr-x6mv

Code Behaviors & Features

Detect and mitigate GHSA-j9fc-w3mr-x6mv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.38.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-862: Missing Authorization
  • CWE-863: Incorrect Authorization

Source file

npm/@budibase/server/GHSA-j9fc-w3mr-x6mv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:12 +0000.