Server: Budibase: DNS rebinding SSRF bypasses remain in OpenAPI import and REST query execution
Budibase server contains an authenticated Server-Side Request Forgery (SSRF) vulnerability via DNS rebinding in two outbound fetch paths: OpenAPI import and REST query execution. A builder-level user can cause the server to issue HTTP requests to internal or loopback addresses by exploiting a gap between hostname validation and actual DNS resolution during fetch. This bypasses Budibase's outbound fetch protections, allowing access to internal services that should be blocked.
AI Analysis
Technical Summary
Budibase's server-side HTTP request functionality has a DNS rebinding SSRF vulnerability affecting two paths. The OpenAPI query import path validates hostnames against a blacklist but then performs a separate fetch without pinning the DNS resolution, allowing an attacker-controlled hostname to resolve to a public IP during validation and to 127.0.0.1 during the fetch. The REST datasource/query execution path uses a fetch helper that pins DNS resolution via a Node http.Agent, but when using the undici HTTP client with a custom dispatcher, the hostname is re-resolved at connection time, bypassing the DNS pinning. This allows authenticated users with builder/query privileges to reach loopback or private network HTTP services that should be blocked. The vulnerability affects Budibase versions up to and including 3.38.1 and is present in the latest master and release 3.39.14. The root cause is a validate-then-fetch gap and incomplete enforcement of DNS pinning in the undici fetch path. The vendor recommends routing OpenAPI imports through the pinned fetch helper and enhancing fetchWithBlacklist() to enforce pinned connections for all transports, including undici.
Potential Impact
An authenticated attacker with builder or query privileges can exploit this vulnerability to perform SSRF attacks targeting loopback (127.0.0.1) or private network HTTP services from the Budibase server process. This bypasses existing outbound fetch protections designed to block such internal requests. The impact includes potential unauthorized access to internal services, which may lead to information disclosure or further internal network compromise. The CVSS 3.1 vector indicates network attack vector, low attack complexity, privileges required, no user interaction, scope change, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
No official patch or fix is currently available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The recommended mitigation is to route OpenAPI query imports through the pinned outbound fetch helper to eliminate the validate-then-fetch gap. For REST datasource/query execution, fetchWithBlacklist() should be enhanced to pin DNS resolution for all supported transports, including providing a dispatcher for undici that enforces pinned IP addresses or rejecting custom fetch functions that do not enforce this. Until fixes are released, restrict builder-level user privileges to trusted users only and monitor for suspicious internal HTTP requests if possible.
Server: Budibase: DNS rebinding SSRF bypasses remain in OpenAPI import and REST query execution
Description
Budibase server contains an authenticated Server-Side Request Forgery (SSRF) vulnerability via DNS rebinding in two outbound fetch paths: OpenAPI import and REST query execution. A builder-level user can cause the server to issue HTTP requests to internal or loopback addresses by exploiting a gap between hostname validation and actual DNS resolution during fetch. This bypasses Budibase's outbound fetch protections, allowing access to internal services that should be blocked.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Budibase's server-side HTTP request functionality has a DNS rebinding SSRF vulnerability affecting two paths. The OpenAPI query import path validates hostnames against a blacklist but then performs a separate fetch without pinning the DNS resolution, allowing an attacker-controlled hostname to resolve to a public IP during validation and to 127.0.0.1 during the fetch. The REST datasource/query execution path uses a fetch helper that pins DNS resolution via a Node http.Agent, but when using the undici HTTP client with a custom dispatcher, the hostname is re-resolved at connection time, bypassing the DNS pinning. This allows authenticated users with builder/query privileges to reach loopback or private network HTTP services that should be blocked. The vulnerability affects Budibase versions up to and including 3.38.1 and is present in the latest master and release 3.39.14. The root cause is a validate-then-fetch gap and incomplete enforcement of DNS pinning in the undici fetch path. The vendor recommends routing OpenAPI imports through the pinned fetch helper and enhancing fetchWithBlacklist() to enforce pinned connections for all transports, including undici.
Potential Impact
An authenticated attacker with builder or query privileges can exploit this vulnerability to perform SSRF attacks targeting loopback (127.0.0.1) or private network HTTP services from the Budibase server process. This bypasses existing outbound fetch protections designed to block such internal requests. The impact includes potential unauthorized access to internal services, which may lead to information disclosure or further internal network compromise. The CVSS 3.1 vector indicates network attack vector, low attack complexity, privileges required, no user interaction, scope change, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
No official patch or fix is currently available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The recommended mitigation is to route OpenAPI query imports through the pinned outbound fetch helper to eliminate the validate-then-fetch gap. For REST datasource/query execution, fetchWithBlacklist() should be enhanced to pin DNS resolution for all supported transports, including providing a dispatcher for undici that enforces pinned IP addresses or rejecting custom fetch functions that do not enforce this. Until fixes are released, restrict builder-level user privileges to trusted users only and monitor for suspicious internal HTTP requests if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xg5g-26x8-cvf4
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a65422e9c2644c7f808a607
Added to database: 07/25/2026, 23:09:34 UTC
Last enriched: 07/25/2026, 23:57:13 UTC
Last updated: 07/26/2026, 04:40:15 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.