Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as Budibase builder
-
DeliveryConfigure REST datasource with attacker-controlled rebinding domain
-
ExploitValidation resolves domain to public IP, passes blacklist
-
InstallAttacker flips DNS to internal target IP
-
C2undici re-resolves hostname independently
-
ExecuteIssue arbitrary HTTP request to internal service
-
ImpactExfiltrate credentials or data from response
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) an authenticated Budibase account assigned the builder role or equivalent tenant-level permission to configure and execute REST datasources - unauthenticated access is not sufficient; (2) control over an external domain and its authoritative DNS server, with the ability to serve different A/AAAA records before and after validation (DNS rebinding infrastructure with configurable TTL); and (3) a Budibase server running a version prior to 3.40.0 where the REST integration's undici dispatcher does not receive the pinned lookup function. The DNS rebinding timing window is the primary technical constraint - the attacker must flip the DNS response between Budibase's validation call and undici's connection attempt, which requires sub-second TTL control and is reliably achievable with standard rebinding toolkits. The vulnerability does not affect outbound requests made through Budibase integrations that use the standard Node fetch path rather than undici, as those code paths correctly receive the pinned Node agent. Limiting exploitation: authentication at PR:L (builder/tenant), DNS rebinding infrastructure requirement, version constraint (>= 3.40.0 is patched), and network egress filtering at the infrastructure level independently blocks the attack regardless of application state. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) accurately reflects the attack profile: network-accessible, but requiring high complexity due to the DNS rebinding timing window and a builder-level account. The scope change (S:C) is appropriate because the ultimate targets are internal services entirely outside the Budibase process - cloud metadata endpoints, CouchDB, Redis, and MinIO. Despite AC:H, this should not be dismissed as low-priority: DNS rebinding toolkits are widely available and attackers who control their own domain can achieve the required timing reliably, reducing practical complexity well below the theoretical ceiling implied by the score. More critically, this bypass specifically dismantles the control added by CVE-2026-54353, meaning any operator who considered themselves protected by that prior fix is silently re-exposed on the REST datasource path; even a mid-sized municipal IT team in mielec running a self-hosted Budibase instance on a cloud provider should treat this as urgent given the IAM credential exfiltration risk. No EPSS score was provided in the input data, and this CVE is not listed in CISA KEV at time of analysis, so exploitation frequency cannot be quantitatively assessed - however, the availability of the GHSA advisory and commit diff provides enough technical detail for capable attackers to reconstruct the attack without a dedicated proof-of-concept. The PR:L gate is the most meaningful practical barrier: environments that restrict datasource configuration to a small set of trusted administrators are substantially less exposed than multi-tenant deployments where any tenant can define REST datasources. |
| Exploit ScenarioDerived | An attacker with a Budibase builder account registers a domain they control, configures its authoritative DNS to return a routable public IP with a one-second TTL, and creates a REST datasource pointing to that domain. During Budibase's validation phase, the hostname resolves to the public IP, which passes the blacklist check. Before undici establishes the actual TCP connection, the attacker's DNS server switches the record to 169.254.169.254; undici re-resolves independently, connects to the cloud metadata endpoint, and returns the full response - including IAM role credentials - to the attacker. No public exploit has been identified at time of analysis, but the GHSA advisory and commit diff provide sufficient technical detail to reconstruct the attack, and DNS rebinding toolkits that automate the timing are publicly available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
SSRF via DNS rebinding in Budibase's REST datasource integration (versions prior to 3.40.0) lets an authenticated builder or tenant bypass the outbound-fetch IP blacklist by exploiting a TOCTOU gap between hostname validation and undici's independent DNS re-resolution at connection time. Because the REST integration overrides the transport with undici's fetch, the validated Node.js agent pin established by the prior CVE-2026-54353 fix is silently ignored, leaving the single most-used outbound path in Budibase unprotected. An attacker who can configure a REST datasource can reach cloud instance-metadata endpoints to steal IAM credentials, or read from and write to internal services such as CouchDB, Redis, and MinIO with full HTTP method and response access. No public exploit has been identified at time of analysis.
RemediationAI
Upgrade Budibase to version 3.40.0 or later, which exports createPinnedLookup from outboundFetch.ts and passes the validated IP into undici's custom dispatcher so both transport paths use the same pinned address, closing the TOCTOU window. The fix commit is 5758bdb242802ca20c4ed0dc579e4330ee898ef3 and the vendor advisory is at https://github.com/Budibase/budibase/security/advisories/GHSA-v42f-v8xc-j435; note that the GHSA package record shows 'fixed in: None' for npm/@budibase/server <= 3.38.1, which conflicts with the CVE description citing 3.40.0 - verify the exact patched release against the official npm registry before deploying. If an immediate upgrade is not feasible, restrict the builder and tenant roles so that only fully trusted internal users can configure or execute REST datasources, as this removes the low-privilege account vector the attack depends on. As a network-layer compensating control, configure egress firewall rules or cloud security groups to block outbound HTTP/HTTPS from the Budibase server process to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and the link-local metadata address (169.254.169.254); be aware that this will also block any legitimate REST datasources that intentionally target internal endpoints. For cloud deployments specifically, blocking or null-routing 169.254.169.254 at the hypervisor or VPC level provides a high-value, low-disruption mitigation for the credential-theft vector.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Budibase's central outbound-fetch guard (fetchWithBlacklist in packages/backend-core/src/utils/outboundFetch.ts) resolves a target hostname, validates every resolved IP against an SSRF blacklist, and pins the validated address into a custom Node.js http.Agent/https.Agent via makePinnedAgent, whose overridden lookup function always returns the vetted IP. This pin was the core of the CVE-2026-54353 fix. The REST datasource integration (packages/server/src/integrations/rest.ts) overrides the fetch transport with undici's fetch, which does not honour the Node agent option - it is silently dropped. Undici instead uses its own dispatcher (via getDispatcher), which performs a completely independent DNS resolution at connection time. This creates a textbook CWE-367 (Time-of-check Time-of-use) race: the check phase resolves the hostname and validates the IP, while the use phase re-resolves it through an entirely separate code path with no memory of the validated address. An attacker who controls their domain's DNS TTL can serve a public IP during the check phase and switch to an internal RFC-1918 or link-local address (e.g., 169.254.169.254) before the undici dispatcher connects. The fix introduces createPinnedLookup as an exported function and threads the validated IP into a custom undici dispatcher so both Node-fetch and undici paths receive a pinned lookup. The affected CPE is cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:* for all versions prior to 3.40.0.
Know when Budibase gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
DNS rebinding requires attacker-controlled infrastructure and precise timing (AC:H); builder-level authentication is mandatory (PR:L); internal service access constitutes a scope change (S:C) with full C/I/A impact on cloud credentials and datastores.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Budibase is an open-source low-code platform. Prior to 3.40.0, packages/backend-core/src/utils/outboundFetch.ts pinned a validated address through a Node agent, but the REST integration used getDispatcher from packages/backend-core/src/utils/fetch.ts, causing undici to ignore that agent and resolve the hostname again. A builder could use DNS rebinding to make packages/server/src/integrations/rest.ts connect to an internal address after a public address passed validation, with full response access and arbitrary REST methods. The fix adds createPinnedLookup support to the undici dispatcher and passes the validated address to custom fetch implementations. This issue is fixed in version 3.40.0.
Executive ViewAI
Budibase REST datasource integration (versions prior to 3.40.0) contains a network bypass vulnerability that allows authenticated users to circumvent security controls and access cloud credential services and internal databases. Attackers with legitimate Budibase access can steal cloud credentials and gain unauthorized read/write access to internal data repositories; no public exploit identified at time of analysis. Organizations face significant risk of data breach and infrastructure compromise.
No vendor-released patch identified at time of analysis. Mitigations include: (1) Restrict REST datasource creation to authorized administrators only via access controls; (2) Implement network egress rules preventing Budibase from connecting to cloud metadata services and internal infrastructure IP ranges; (3) Deploy DNS security at the network gateway to prevent attack techniques exploiting DNS; (4) Enable comprehensive audit logging of all REST datasource configuration and access; (5) Implement network segmentation to prevent Budibase processes from reaching internal services; (6) Disable REST datasource functionality if not required for operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
EUVD-2026-60380
GHSA-v42f-v8xc-j435
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB