GHSA-v42f-v8xc-j435: Budibase: SSRF via DNS rebinding in the REST datasource integration
Budibase’s central outbound-fetch guard (fetchWithBlacklist) prevents SSRF/DNS-rebinding by resolving the target hostname, checking every resolved IP against the blacklist, and pinning the connection to the validated IP. The pin is implemented as a Node http(s).Agent (makePinnedAgent). The fix for CVE-2026-54353 relies on this pin to stop DNS rebinding.
The REST datasource integration (@budibase/server) calls fetchWithBlacklist but performs the actual request with undici’s fetch. undici does not support the Node agent option — it is silently ignored — and instead uses its own dispatcher, which re-resolves the hostname’s DNS at connection time. As a result, the validated/pinned IP is never used on the REST datasource path, and the DNS-rebinding protection that CVE-2026-54353 added is silently defeated for the single most-used outbound path in Budibase.
An authenticated user who can configure/run a REST datasource (e.g. a builder/tenant) can use a rebinding hostname (public IP during validation, internal IP at connect) to make the server issue arbitrary, full-response HTTP requests to internal-only services — cloud metadata (IAM credential theft), the internal CouchDB/Redis/MinIO, and other internal endpoints — reading and, because REST datasources allow arbitrary method/body, writing or destroying internal data.
References
- github.com/Budibase/budibase/commit/1fecb3fc3497e8db7b60b42cc514ce304ffe3a41
- github.com/Budibase/budibase/commit/5758bdb242802ca20c4ed0dc579e4330ee898ef3
- github.com/Budibase/budibase/commit/586802b5706367520d14245e18a7d0cabab0be11
- github.com/Budibase/budibase/pull/19178
- github.com/Budibase/budibase/releases/tag/3.39.30
- github.com/Budibase/budibase/security/advisories/GHSA-v42f-v8xc-j435
- github.com/advisories/GHSA-v42f-v8xc-j435
Code Behaviors & Features
Detect and mitigate GHSA-v42f-v8xc-j435 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →