Servers and applications
GHSA-pxwc-66g3-5f27
Arbitrary File Write via retrieveDirectory S3-Key Path Traversal
- Severity
- Critical 9.1
- Published
- 22 Jul 2026
- Last changed
- 22 Jul 2026
- Added to UpHeron
- 3 Nov 2026
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
Budibase writes user-controlled content into the APPS object store using S3 keys that include a user-supplied filename component (e.g. AI knowledge file uploads, worker global config uploads). The sanitizeKey helper (packages/backend-core/src/objectStore/objectStore.ts:94-96) - backed by [email protected] - is intended to neutralise dangerous path sequences, but it preserves .. segments verbatim: the library only strips "unsafe" punctuation, keeping / and . (and \ after the .replace(/\/g, "/") in sanitizeKey). As a result, a builder can store an S3 object whose key literally contains traversal segments like app_prod_x/ai/knowledge-bases/.../files/f_x/../../../../etc/cron.d/evil.
When the same workspace is later exported via POST /api/backups/export (builder-gated), exportWorkspace calls retrieveDirectory(APPS, "${workspaceId}/") (packages/server/src/sdk/workspace/backups/exports.ts:129).
Affected software
| Software | Affected versions |
|---|---|
BudibaseServers and applications · github:budibase/budibase |
|
About Budibase
low-code development platform
- Docker Hub pulls
- 2,327,272Docker Hub, 15 Nov 2026
- GitHub stars
- 28,419GitHub, 15 Nov 2026
- Forks
- 2,238GitHub, 15 Nov 2026
- Latest release
- v4.0.0GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- First published on GitHub
- 7 Jun 2019GitHub
Website Source code Docker image
Vulnerabilities in Budibase
- In our list
- 124
- Published in the last 12 months
- 121
- Critical, last 12 months
- 27
- High, last 12 months
- 76
- Known exploited
- 0
- GHSA-8wqw-xg9x-89h8Public API View Row Search Bypasses Per-View Authorization via Resource ID Parameter MismatchMedium 6.5 12 Nov 2026
- GHSA-4xqp-vfh8-4fv7Budibase filesystem oracle and conditional directory deletion via body.file.pathMedium 5.4 12 Nov 2026
- GHSA-m2mm-7xvw-9623SSRF blacklist bypass: IPv6 unspecified address :: omitted from outbound-fetch default deny list reaches loopback servicesMedium 5.4 12 Nov 2026
- GHSA-jm85-crv2-88pxUnverified-email OIDC/SSO account linking takes over password-less global Builder (isAccountLinkable allowlist omits builder)Critical 9.8 10 Nov 2026
- GHSA-gvxv-2hpp-8fwvBudibase: View Row-Filter Security Boundary Bypass via Single-Row Read and Attachment EndpointsHigh 10 Nov 2026
- GHSA-f337-5wfg-hxhrMongoDB connectionString filesystem oracle — incomplete fix of GHSA-ppr4-5f46-j9c6High 10 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-pxwc-66g3-5f27
- github.com https://github.com/Budibase/budibase/security/advisories/GHSA-pxwc-66g3-5f27