{"answers":{"affected":"2 open source packages ship an affected version, including @budibase/server. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54352 exists.","fix":"Upgrade @budibase/server to 3.39.9 or later.","what":"CVE-2026-54352 is a critical path traversal vulnerability in budibase, published on 26 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54352 and fix it if it is affected.\n\nWhat it is: CVE-2026-54352 is a critical path traversal vulnerability in budibase, published on 26 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54352 exists.\n\nAffected packages and fixed versions:\n- @budibase/server (npm): affected all versions; fixed in 3.39.9\n- @budibase/server (npm): affected all versions; fixed in 3.39.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54352/ (Markdown: https://insights.sbomify.com/CVE-2026-54352/index.md)","id":"CVE-2026-54352","markdown":"https://insights.sbomify.com/CVE-2026-54352/index.md","name":"CVE-2026-54352","record":{"aliases":["GHSA-w7mq-r738-x278"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Budibase low-code platform","requires_auth":"low_privilege","summary":"A workspace builder can read arbitrary server files by uploading a zip containing symlinks, bypassing path validation checks.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"budibase","vendor":"budibase"}],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload","id":"CVE-2026-54352","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Budibase: Potential SSRF DNS rebinding bypass in outbound fetch validation","id":"CVE-2026-54353"},"packages":[{"ecosystem":"npm","fixed":["3.39.9"],"introduced":["0"],"last_affected":[],"package":"@budibase/server","purl":null,"source":"GHSA-w7mq-r738-x278"},{"ecosystem":"npm","fixed":["3.39.9"],"introduced":["0"],"last_affected":[],"package":"@budibase/server","purl":"pkg:npm/%40budibase/server","source":"GHSA-w7mq-r738-x278"}],"prev":{"headline":"Budibase: Mass Assignment in Webhook Trigger Allows Cross-Workspace Automation Execution via appId Override","id":"CVE-2026-54351"},"products":["budibase"],"published":"2026-06-26","related":[{"cvss_score":10,"headline":"Budibase: Anonymous NoSQL operator injection via published-app query templates","id":"CVE-2026-54350","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9.9,"headline":"Budibase Vulnerable to Remote Code Execution via Unsafe eval() in View Filter Map Function (Budibase Cloud)","id":"CVE-2026-27702","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":9.6,"headline":"Budibase: Server-Side Request Forgery via REST Connector with Empty Default Blacklist","id":"CVE-2026-31818","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":9.6,"headline":"Budibase PWA ZIP Upload Path Traversal Allows Reading Arbitrary Server Files Including All Environment Secrets","id":"CVE-2026-30240","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":9.1,"headline":"Budibase: Authentication Bypass via Unanchored Regex in Public Endpoint Matcher — Unauthenticated Access to Protected Endpoints","id":"CVE-2026-41428","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":9.1,"headline":"Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step","id":"CVE-2026-35216","kev_date_added":null,"published":"2026-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-27","vendors":["Budibase"]},"summary":"A workspace builder can read arbitrary server files by uploading a zip containing symlinks, bypassing path validation checks.","url":"https://insights.sbomify.com/CVE-2026-54352/"}