All vulnerabilities

Servers and applications

GHSA-86f3-cqpq-wp9m

SSRF Blacklist Bypass via Unvalidated HTTP Redirect Following in REST Datasource

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

Description

The Budibase REST datasource integration validates outbound request URLs against an IP blacklist to prevent SSRF attacks, but does not validate or restrict HTTP redirects. An attacker with Builder role can configure a REST datasource pointing to an external server that returns a 302 redirect to an internal/private IP address (e.g., http://169.254.169.254/), completely bypassing the blacklist. This allows reading cloud instance metadata credentials, internal CouchDB databases, and other services on the internal network.

The SSRF protection in Budibase works by resolving the hostname of the user-supplied URL to IP addresses via DNS, then checking those IPs against a net.BlockList of private ranges. This check happens once, before the HTTP request is made.

In packages/server/src/integrations/rest.ts:754, the URL is validated:

The isBlacklisted function in packages/backend-core/src/blacklist/blacklist.ts:132-148 performs DNS resolution and IP checking:

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

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