All vulnerabilities

Servers and applications

GHSA-37r6-5jxh-vm83

Budibase arbitrary file write as root via ZIP symlink traversal

Severity
Critical 9.9
Published
10 Sept 2026
Last changed
13 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.45.0
Weakness
Path traversal (CWE-22)Link following (CWE-59)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

The PWA icon upload endpoint extracts a user supplied ZIP with [email protected]. That library validates only the directory component of each entry, never the leaf. A ZIP whose leaf entry is a symlink, followed by a second entry of the same name, causes the extractor to write through the symlink to any absolute path on the host. Budibase containers run as root, so this is arbitrary file creation and overwrite as root, which is a direct path to remote code execution. The attacker needs only the BUILDER role on a single workspace, which is a routinely delegated, low trust role in a multi tenant Budibase deployment.

Two defects compose. Neither is sufficient alone.

1. [email protected] validates only the directory component. In its index.js:

It resolves path.dirname(entry) and never canonicalises the leaf. It then creates symlink entries unconditionally and writes regular entries with a plain write stream, which follows an existing symlink.

From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.45.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
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

References