Security mailing lists by PureSourceCode

CVE-2026-54352

CRITICAL 9.6CVSS 3.1

Budibase has arbitrary file read by workspace-builder via PWA-zip symlink upload

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-zip@2.0.1 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. extract-zip@2.0.1 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.

Published
26 Jun 2026
Last modified
12 Aug 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-59
Also known as
GHSA-w7mq-r738-x278
Sources
NVDJSONOSV GHSA-w7mq-r738-x278JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD budibase budibase
cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*
< 3.39.9 3.39.9
OSV npm @budibase/server < 3.39.9 3.39.9

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 26 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.