Skip to main content

Budibase EUVDEUVD-2026-60380

| CVE-2026-73410 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-08-17 GitHub_M GHSA-v42f-v8xc-j435
8.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as Budibase builder
  2. Delivery
    Configure REST datasource with attacker-controlled rebinding domain
  3. Exploit
    Validation resolves domain to public IP, passes blacklist
  4. Install
    Attacker flips DNS to internal target IP
  5. C2
    undici re-resolves hostname independently
  6. Execute
    Issue arbitrary HTTP request to internal service
  7. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

budibase < 3.40.0

Affected Packages

npm @budibase/server no fix
euvd budibase fix: 3.40.0

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

Vendor (GitHub_M) PRIMARY 8.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 22:03 EUVD
CVE Published
Aug 17, 2026 - 20:27 cve.org
HIGH 8.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular open-source low-code platform with growing enterprise self-hosting adoption
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2026-73300 CRITICAL POC
9.6 Aug 12

SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S

CVE-2026-31816 CRITICAL POC
9.1 Mar 09

Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att

CVE-2026-41428 CRITICAL POC
9.1 Apr 24

Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t

CVE-2026-25040 HIGH POC
8.8 Jan 29

Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]

CVE-2026-122247 HIGH POC
8.2 Nov 20

Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl

CVE-2026-73406 HIGH POC
7.5 Aug 12

Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email

CVE-2026-31818 CRITICAL
9.9 Apr 03

Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat

CVE-2026-73308 MEDIUM POC
5.7 Aug 12

OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden

CVE-2022-3225 MEDIUM POC
5.7 Sep 16

Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med

CVE-2026-30240 CRITICAL
9.6 Mar 09

Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app

CVE-2026-82244 CRITICAL
9.4 Aug 28

Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy