CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-54352

Critical · CVSS 9.6

Budibase — Path Traversal via Symlink in Zip Extraction (Zip Slip / Symlink Follow LFI)

CVSS
9.6
nvd
EPSS
KEV
No
Class
other
CWE-22, CWE-59

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.

Search profile — drives PoC discovery

Symbols POST /api/pwa/process-zipGET /api/assets/{appId}/pwa/{uuid}.pngpackages/server/src/api/routes/static.tspackages/server/src/api/controllers/static/index.tspackages/backend-core/src/objectStore/objectStore.tsextract-zipicons.jsonresolvedSrc.startsWith(baseDir + path.sep)fsp.opencreateReadStreamMinIO
Keywords CVE-2026-54352Budibaseprocess-zipsymlinkzip extractionpath traversalLFIextract-zipGHSA-w7mq-r738-x278pwaicons.jsonobjectStoreMinIOstatic.ts
Versions: < 3.39.9

References

Status: enriched · ingested 2026-07-01T00:00:14.000Z · profiled 2026-07-01T18:30:14.000Z