All vulnerabilities

Servers and applications

GHSA-xqpq-288m-r5q7

Cross-application resource injection via missing authorization on duplicate endpoint

Severity
High 7.7
Published
14 Aug 2026
Last changed
14 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.41.3
Weakness
Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Sources
Project advisories (GitHub)

Description

The POST /api/resources/duplicate endpoint allows an authenticated application builder to inject tables, automations, queries, and screens from their own application into any other Budibase application — without holding any role in the destination app. The destination workspace ID is taken directly from the request body and no authorization check is performed against it.

The endpoint is defined in packages/server/src/api/routes/resource.ts:

The builderRoutes middleware validates that the caller is a builder of the source application (identified by the x-budibase-app-id request header). The controller forwards the request directly to the SDK:

Inside duplicateResourcesToWorkspace (packages/server/src/sdk/workspace/resources/index.ts), the destination database is opened without any ownership or tenant validation:

The function then bulk-writes all selected resource documents (tables, automations, queries, screens, workspace apps, row actions) directly into the destination database…

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.41.3

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