All vulnerabilities

Servers and applications

GHSA-4946-qf2m-wrh5

Cross-tenant application disclosure — any authenticated user can read another tenant's app metadata and source snippets via `GET /api/applications/:appId/appPackage`

Severity
High
Published
10 Sept 2026
Last changed
10 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.45.0
Sources
Project advisories (GitHub)

Description

GET /api/applications/:appId/appPackage is registered on publicRoutes — a route group declared with no authorization middleware — and its controller performs no authorization check and no tenant check. It resolves the workspace purely from the caller-supplied app id.

A logged-in user of tenant B, who has no relationship of any kind to tenant A, receives tenant A's application document: name, URL, template, full navigation structure with role names and internal screen URLs, the tenant's own JavaScript snippet source, and a user id belonging to tenant A.

Budibase's usual cross-tenant defence — downgrade the caller to PUBLIC and de-authenticate — works correctly on the sibling endpoints (they return 401 in the control below). It does not help here, because a downgrade only protects routes that check a permission, and this route checks none.

packages/server/src/api/routes/workspace.ts:33-40:

packages/server/src/api/controllers/workspace.ts:513-548:

From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.45.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References