Skip to main content

Budibase CVE-2026-73305

HIGH
Improper Privilege Management (CWE-269)
2026-08-13 security-advisories@github.com GHSA-j9fc-w3mr-x6mv
8.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain app-scoped builder credentials
  2. Delivery
    Send POST /api/public/v1/roles/assign with crafted appBuilder.appId targeting victim app
  3. Exploit
    validateGlobalRoleUpdate skips appId scope check
  4. Execution
    SDK appends victim app to attacker builder.apps
  5. Persist
    Attacker opens victim app in builder
  6. Impact
    Exfiltrate datasource credentials and app data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold an authenticated session as an app-scoped builder - meaning their account has user.builder.apps containing at least one app ID, but they are not a global builder or admin. The tenant must have the expanded public API enabled (isExpandedPublicApiEnabled license check must pass on the Budibase instance). The builderOrAdmin middleware on the /api/public/v1/roles endpoint is satisfied by any builder account regardless of scope, providing no additional barrier. Exploitation is blocked for unauthenticated users and for non-builder basic user accounts. The attack is limited to horizontal privilege escalation within a single Budibase tenant - it cannot cross tenant boundaries. No special network positioning is required beyond the ability to reach the Budibase API over HTTP/HTTPS.

Impact

CVSS 8.8 with AV:N/AC:L/PR:L/UI:N is well-calibrated to the actual risk. Any authenticated app-scoped builder can exploit this over the network with low complexity, making this a realistic, repeatable attack in multi-tenant Budibase deployments. The vendor's GHSA advisory confirms reproduction in an authorized lab environment. No EPSS data was provided and no CISA KEV listing exists at time of analysis, so exploitation appears opportunistic rather than confirmed widespread. The practical blast radius in a multi-team Budibase instance is high: a compromised or malicious builder account for any single app can pivot to full builder access on every other app in the tenant, gaining access to datasource credentials (database connection strings, API keys) and automation logic. The risk is lower in single-team or single-app deployments where no isolation boundary exists to cross. There is no conflict between the CVSS vector and the description - both consistently indicate authenticated network exploitation.

Exploit ScenarioDerived

An attacker with an authenticated app-scoped builder account for any app in the tenant (e.g., app_allowed) sends a crafted POST /api/public/v1/roles/assign request with the body setting appBuilder.appId to a target app they do not control (e.g., app_target). The unpatched validateGlobalRoleUpdate passes the request through without inspecting the appId, and the pro-tier SDK appends app_target to the attacker's builder.apps list. The attacker can now open app_target in the Budibase builder, read its datasource connection credentials, and exfiltrate or modify its data and automations.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Privilege escalation in Budibase's public role-assignment API allows an app-scoped builder to grant themselves or other users builder access - or arbitrary data-plane roles - across any app in a shared tenant. Versions prior to 3.39.24 are affected; the CVSS score of 8.8 (PR:L) reflects that a low-privilege authenticated account is sufficient, with no user interaction or elevated complexity required. No public exploit or CISA KEV listing is identified at time of analysis, but the vulnerability is straightforwardly reproducible given the published commit diff and GHSA advisory detail.

RemediationAI

Upgrade to Budibase 3.39.24 or later, confirmed fixed via release tag https://github.com/Budibase/budibase/releases/tag/3.39.24 and commit 453391d3245dd04cc386ccd6959d38ccf30db9a8 (PR #19098). The patch adds validateAppRoleUpdate calls that verify the caller is either a global admin or a builder of the specific target appId before processing appBuilder or role grant vectors. If an immediate upgrade is not feasible, restrict network access to POST /api/public/v1/roles/assign to admin-only traffic at the API gateway or reverse-proxy layer - note this will break any legitimate automated role-assignment workflows using the public API. Alternatively, if the expanded public API can be disabled via the isExpandedPublicApiEnabled license flag without business impact, doing so removes the vulnerable code path entirely; verify this does not break other public API integrations before applying. Audit existing user role assignments for unexpected cross-app builder grants as a detection measure.

Affected Packages

npm @budibase/server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in packages/server/src/api/controllers/public/globalRoleValidation.ts. The validateGlobalRoleUpdate function implemented an allowlist limited to two global flags - admin (checked via isAdmin) and builder (checked via isGlobalBuilder) - because the GlobalRoleUpdate TypeScript interface only declared those two fields. Two additional grant vectors, appBuilder (which sets user.builder.apps) and role (which sets user.roles[appId]), were accepted in the request body and forwarded directly to the pro-tier SDK without any authorization check that the caller controls the target appId. The downstream SDK logic in packages/pro/src/sdk/publicApi/roles.ts performs direct array mutation on the target user record. The only gate on the endpoint is builderOrAdmin middleware, which is satisfied by any app-scoped builder. CWE-269 (Improper Privilege Management) identifies the root cause: privilege grants were validated at the flag level (global admin/builder) but not at the scope level (which app the grant targets).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

S:C because attacker crosses app isolation boundaries to impact resources outside their authorization scope; A:N because the exploit grants access rather than disrupting availability.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Budibase is an open-source low-code platform. Prior to 3.39.24, POST /api/public/v1/roles/assign called validateGlobalRoleUpdate without checking appBuilder.appId or role.appId in packages/server/src/api/controllers/public/globalRoleValidation.ts. An app-scoped builder could scope the request to an app they control and then grant themselves builder access or an arbitrary role in another app, exposing that app data, datasource configuration, and automations. This issue is fixed in version 3.39.24.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in Budibase enables authenticated users to escalate permissions and gain unauthorized access to any application within a shared tenant, risking cross-application data exposure and loss of application integrity controls. Organizations running multi-app, multi-user Budibase deployments face potential compromise if any authenticated account is created or compromised. The threat is material for shared-tenant architectures where application isolation is a security boundary.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting non-admin user access to public role-assignment APIs and application configuration endpoints, implementing comprehensive audit logging for permission-change events, enforcing strict tenant or application-level access isolation, and conducting access reviews to minimize the number of authenticated accounts that could serve as attack entry points.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche open-source low-code platform, primarily self-hosted by development teams
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy