Budibase before 4.0.0: unverified-email SSO takeover of Builder accounts, anonymous MongoDB filter erasure and cross-tenant file deletion (CVE-2026-137499, CVE-2026-137498, CVE-2026-137494)
Budibase 4.0.0 (10 November 2026) fixed a batch of security bugs in the low-code app, automation and AI-agent builder, and NVD published the CVEs on 26 November. The three critical ones: an attacker at a trusted or self-registration identity provider could log in as a password-less global Builder by asserting the victim's email with email_verified=false; an unauthenticated caller could erase the filter of a PUBLIC MongoDB query with a __proto__ key and read, update or delete the whole collection; and any user with table write access could point an attachment at another tenant's file key and delete (or sometimes read) it in the shared bucket. Upgrade self-hosted instances to 4.0.0 or later.
What it is
CVE-2026-137499 / GHSA-jm85-crv2-88px (CWE-287), Budibase 3.41.0 to < 4.0.0: a reconcile path added in 3.41.0 links unverified-email OIDC/SSO logins via isAccountLinkable, whose allowlist blocked password, inactive, admin and ssoId accounts but not builder.global/apps/creator or roles. Result: full design-time control of every app, datasource (with production DB credentials) and automation.
CVE-2026-137498 / GHSA-x4w8-596q-fmh7 (CWE-943), @budibase/server 3.39.18 to < 4.0.0: in a PUBLIC MongoDB query that uses a request parameter as a JSON key, sending __proto__ makes the second template pass drop the predicate, so find/updateMany/deleteMany run with {}. No session or CSRF token is needed for PUBLIC queries.
CVE-2026-137494 / GHSA-wr7j-r9v4-6rjh (CWE-639), < 4.0.0: attachment keys from the client were stored verbatim and later used for presigned URLs, downloads and deleteFiles on the shared APPS bucket; sanitizeKey only blocked '.'/'..'. On Budibase Cloud any user can create an app, so this crossed tenants.
Also fixed in 4.0.0 and published by NVD the same week: CVE-2026-137491, -137492, -137493, -137495, -137496, -137500, -137501 and -137503 (authorization bypasses, IDOR, server-side template injection, privilege escalation, query and JSON injection), plus the LiteLLM key leak CVE-2026-137497 covered separately.
GitHub advisories published 10 November 2026; Budibase v4.0.0 released 10 November 2026.
How to check
- Check the version in the Budibase portal (Settings → Version) or your Docker image tag: anything below 4.0.0 is affected.
- Review SSO settings: if a self-registration or shared IdP is trusted, audit recent logins of global Builder accounts that have no password.
- List PUBLIC queries on MongoDB datasources that use a request parameter as a JSON key, and check collections for unexpected mass updates or deletions.
How to fix
- Upgrade self-hosted Budibase (Docker/Kubernetes) to 4.0.0 or later; Budibase Cloud is updated by the vendor.
- Until upgraded: restrict IdPs to ones that verify email, avoid PUBLIC execution permission on queries that template JSON keys, and limit table write access to trusted users.
- Rotate datasource credentials if Builder accounts may have been taken over.
docker ps --format '{{.Image}}' | grep -i budibase
docker compose pull && docker compose up -d # budibase/budibase:latest >= 4.0.0 Sources
- highCVE-2026-122247: Budibase's public /api/global/users/init endpoint trusted an attacker-chosen tenantId, letting anyone bypass the one-time setup guard and create global-admin records and new databases (fixed 3.50.0)
- highCVE-2026-122244: Budibase app users, or anonymous visitors to a public form, could plant script that runs in a builder's or admin's session when they preview a Handlebars binding (fixed 3.50.0)