llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @budibase/server

GHSA-468G-55QJ-V8RR

App-scoped builders can grant builder access to unrelated apps through public user update API

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición97 dDesde la divulgación, 14 ago 2026, 3:57 a. m.
Detección96 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
14 ago 26
18 nov 26
19 nov 26
14 ago 26
7 sept 26
2 oct 26
26 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-468G-55QJ-V8RR divulgada · CVSS 8.1 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

App-scoped builders can grant builder access to unrelated apps through public user update API

Summary

Budibase 3.39.26 allows an authenticated app-scoped builder for one app to grant builder access to another unrelated app through the public user create/update API.

The vulnerable path accepts and persists app-scoped builder role data such as `builder.apps` without validating that the caller is allowed to assign builder access for those target apps. As a result, a builder for App A can update a user, including themselves, and add builder access for App B, even though they are not a global admin, not a global builder, and not a builder for App B.

This creates a cross-app privilege escalation within the tenant.

Affected version

  • Product: Budibase
  • Version: 3.39.26
  • Commit: `f6e5b2fb9294bf754e0f7b999868643e116d850b`

Affected endpoints

  • `PUT /api/public/v1/users/:userId`
  • `POST /api/public/v1/users`

Affected code

  • `packages/server/src/api/controllers/public/users.ts`

The vulnerable create/update path calls `createUpdateResponse()`, which validates global role updates but does not validate app-scoped role assignments such as `builder.apps`.

Attacker model

The attacker is:

  • authenticated;
  • an app builder for App A;
  • allowed to use the public API / API key for App A;
  • not a global admin;
  • not a global builder;
  • not a builder for App B.

The target App B exists in the same tenant.

Root cause

The public user create/update path validates global role changes but does not validate app-scoped builder assignments.

Specifically, `createUpdateResponse()` calls `validateGlobalRoleUpdate()` with only global admin / builder deltas. App-scoped role fields such as `builder.apps` are not passed into that validation path.

When expanded public API behavior is enabled, `sdk.publicApi.users.roleCheck()` does not strip or reject `builder.apps`, and the worker-side user save accepts and persists it.

This allows an app-scoped builder for one app to assign builder access for another app they do not control.

Proof of concept

Given:

  • App A: attacker is a builder.
  • App B: attacker is not a builder.
  • Target user: a normal user or the attacker’s own user account.

Send the following request as the App A builder:

PUT /api/public/v1/users/{targetUserId}
x-budibase-api-key: <attacker_public_api_key>
x-budibase-app-id: <app_a_id>
Cookie: <attacker_app_builder_session>
Content-Type: application/json

{
  "_id": "{targetUserId}",
  "email": "target@example.com",
  "roles": {},
  "builder": {
    "apps": ["app_target_b"]
  }
}

Observed result:

{
  "builder": {
    "apps": ["app_target_b"]
  }
}

The target user is updated with builder access to App B, even though the caller only has builder access to App A.

Negative control

A basic non-builder user sending the same request receives `403`.

Additionally, before the public user update, the attacker or target user cannot perform builder-only actions against App B. After the update persists `builder.apps: ["app_target_b"]`, the user can perform builder-only actions against App B.

Runtime evidence

A focused Jest proof-of-concept test was added temporarily and executed against Budibase 3.39.26.

Command:

bash -lc 'eval "$(fnm env --use-on-cd)"; fnm use 22.19.0; yarn --cwd packages/server test users-role-scope.poc.spec.ts'

Observed behavior:

  • Basic user: `403`
  • App builder for App A: `200`
  • Response persisted `builder.apps` containing the unrelated target App B ID.

The test was removed after validation.

Impact

An app-scoped builder can grant a user, including themselves, builder access to an app they do not control.

This gives unauthorized builder-level capability over the target app’s design and data plane. Depending on the target app configuration, this may allow the attacker to inspect or modify app structure, screens, automations, queries, datasource-backed actions, and other builder-only resources.

This is a cross-app privilege escalation within the same Budibase tenant.

Suggested fix

Reject or strip app-scoped role fields such as `builder.apps` from public user create/update requests unless the caller has permission to assign builder access for every target app ID.

The authorization check should verify that the caller is allowed to manage builder access for the specific app IDs being assigned, not only whether the caller has builder access to the app associated with the API key/request context.

It would also be safer to maintain an explicit allowlist of user fields accepted by the public API instead of allowing role-bearing internal fields to pass through to the worker-side user save path.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
@budibase/server< 3.41.3
3.38.1
3.41.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@budibase/server
Sin parche — — 3.38.1 afectada
Versiones corregidas3.41.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/Budibase/budibase/security/advisories/GHSA-468g-55qj-v8rr

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.