# CVE-2026-54352: Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-22T23:33:35.000Z
- Modified: 2026-08-12T19:00:08.008Z
- Also known as: GHSA-w7mq-r738-x278
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Budibase budibase: < 3.39.9; before 3.39.9
- @budibase/server (npm): before 3.39.9

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/Budibase/budibase/security/advisories/GHSA-w7mq-r738-x278> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54352> (advisory)
- <https://github.com/Budibase/budibase> (package)

## Sources

- CVE List: [CVE-2026-54352](https://www.cve.org/CVERecord?id=CVE-2026-54352), CVE Terms of Use, modified 2026-06-27
- GitHub Advisory Database: [GHSA-w7mq-r738-x278](https://github.com/advisories/GHSA-w7mq-r738-x278), CC-BY-4.0, modified 2026-08-12
- NVD: [CVE-2026-54352](https://nvd.nist.gov/vuln/detail/CVE-2026-54352), Public domain, modified 2026-06-30

---

Page: https://cve.day/CVE-2026-54352 · Whole record: https://cve.day/CVE-2026-54352.json · Rebuilt by cve.day 2026-11-25T22:59:26.548Z
