SCA: security update for @budibase/server (GHSA-w7mq-r738-x278)

critical Tenable Self-Hosted Container Security Plugin ID 443792

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Budibase is an open-source low-code platform. Prior to 3.39.9, `POST /api/pwa/process-zip` at
packages/server/src/api/routes/static.ts:24 accepts a builder-uploaded .zip, extracts it with extract-
[email protected] into a temp directory, then for each entry listed in icons.json validates the icon path, opens
it, and streams the bytes into MinIO. The resulting object is served back via GET
/api/assets/{appId}/pwa/{uuid}.png. [email protected] preserves absolute symlink targets when restoring
symlink entries. The icon-source validator at packages/server/src/api/controllers/static/index.ts:259-268
resolves the icon source string against baseDir (path.resolve), checks resolvedSrc.startsWith(baseDir +
path.sep) against that string, and calls fs.existsSync(resolvedSrc) which follows symbolic links to
confirm the target exists. None of the three calls reject symbolic-link entries. packages/backend-
core/src/objectStore/objectStore.ts:302 then calls (await fsp.open(path)).createReadStream() on the
resolved path. fsp.open follows the symlink, the target file's bytes stream into MinIO, and the response
of the asset-fetch endpoint returns those bytes verbatim. Result: a workspace-level builder reads any file
the server process can open. This vulnerability is fixed in 3.39.9. (CVE-2026-54352)

Solution

Update the @budibase/server library and its related packages to version 3.39.9 or later.

See Also

https://github.com/advisories/GHSA-w7mq-r738-x278

Plugin Details

Severity: Critical

ID: 443792

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/23/2026

Updated: 7/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

Percentile: 57.7

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2026-54352

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/22/2026

Vulnerability Publication Date: 6/22/2026

Reference Information

CVE: CVE-2026-54352