CVE-2026-137497: Budibase's unauthenticated public settings endpoint returned the tenant's legacy LiteLLM virtual key and secret (fixed 4.0.0)
Budibase, the open-source platform for internal apps, automations and AI agents, exposes GET /api/global/configs/public without authentication by design. Before 4.0.0 it spread the whole stored settings document into that response, including a legacy liteLLM block, so on tenants that still held one, anyone who could reach the tenant could read liteLLM.keyId and liteLLM.secretKey and use the tenant's LiteLLM (and the model credits behind it). Fixed in Budibase 4.0.0 (10 November 2026).
What it is
GHSA-c24r-7gmq-4rgm (CWE-200), published 10 November 2026; CVE-2026-137497 published by NVD on 26 November 2026. Reported by @kaizhi888, reproduced on v3.45.0-cloud.3 (commit cbd2c39).
publicSettings() in packages/worker/src/api/controllers/global/configs.ts did not remove or mask config.liteLLM before serialization. Only tenants whose global settings still contain the legacy settings.liteLLM configuration leak a secret; the earliest affected release isn't known.
Affected: Budibase < 4.0.0 (npm @budibase/server < 4.0.0; self-hosted Docker images of the same versions). Fixed: 4.0.0.
How to check
- Check the Budibase version shown in the portal or your self-hosted image tag: anything before 4.0.0 is affected.
- From outside, request https://<your-budibase>/api/global/configs/public and see whether the JSON contains a liteLLM object.
How to fix
- Upgrade self-hosted Budibase to 4.0.0 or later.
- If the endpoint returned a liteLLM secret, revoke that LiteLLM virtual key and issue a new one, and check LiteLLM spend logs for unknown usage.
- Keep internal tool platforms behind SSO or a VPN rather than on the open internet.
curl -s https://budibase.example.com/api/global/configs/public | grep -o '"liteLLM"[^}]*' Sources
- criticalBudibase 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)
- 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)