{"cve":"CVE-2026-54352","nvd":{"published":"2026-06-26T21:16:35.293","modified":"2026-06-30T20:00:57.463","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6},"cwes":["CWE-22","CWE-59"],"references":["https://github.com/Budibase/budibase/security/advisories/GHSA-w7mq-r738-x278","https://github.com/Budibase/budibase/security/advisories/GHSA-w7mq-r738-x278"],"products":["budibase:budibase"],"source":"nvd","synced_at":"2026-10-19T22:41:17.107060303+00:00"},"epss":{"cve":"CVE-2026-54352","score":0.00494,"percentile":0.4242,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w7mq-r738-x278","url":"https://osv.dev/vulnerability/GHSA-w7mq-r738-x278","summary":"Budibase has arbitrary file read by workspace-builder via PWA-zip symlink upload","modified":"2026-08-12T19:00:08.008355261Z","packages":[{"ecosystem":"npm","name":"@budibase/server","purl":"pkg:npm/%40budibase/server","ranges":["<3.39.9"],"fixed":["3.39.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}