All vulnerabilities

Servers and applications

GHSA-3c52-v5v2-3r56

SSRF in AI Table Generation via uploadUrl: raw fetch without blacklist protection

Severity
High 7.7
Published
17 Sept 2026
Last changed
17 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.41.0
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

The uploadUrl function in packages/server/src/utilities/fileUtils.ts uses raw node-fetch without SSRF protection. Every other outbound fetch in the codebase uses fetchWithBlacklist from @budibase/backend-core, which blocks private IP ranges. This function was missed, enabling full-read SSRF via AI table generation.

The LLM generates table data. When the attachment column contains a URL string, processAttachments (line 104 of packages/server/src/sdk/workspace/ai/helpers/rows.ts) calls uploadUrl(value) (line 113), which executes fetch(url) at line 23 of packages/server/src/utilities/fileUtils.ts with NO blacklist check. The response body is saved to MinIO/S3 and the presigned URL is returned.

The vulnerable function can be verified by reading the source directly:

File: packages/server/src/utilities/fileUtils.ts, line 23:

Call chain: POST /api/ai/tables (builder auth) -> generateTables -> generateRows -> processAttachments -> uploadUrl -> raw fetch(url)

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.41.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