{
  "id": "CVE-2026-54352",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54352",
  "published_at": "2026-06-26T20:32:51.458Z",
  "title": "Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload",
  "vendor": "Budibase",
  "product": "budibase",
  "cvss": {
    "score": 9.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Budibase",
        "product": "budibase",
        "ranges": [
          "\u003c 3.39.9"
        ],
        "fixed_in": [
          "3.39.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade budibase to 3.39.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-w7mq-r738-x278"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
