CVE-2026-48148: Budibase: Unvalidated VectorDB Host Parameter Enables SSRF
Summary
The VectorDB configuration endpoint in Budibase accepts a host parameter that undergoes no validation against internal IP ranges, reserved hostnames, or URL schemes. Any authenticated user with builder-level access can supply an arbitrary host value such as 169.254.169.254 or localhost, causing the server to initiate outbound TCP connections to internal network addresses or cloud metadata endpoints on their behalf.
Details
The validator responsible for VectorDB creation and updates defines the host field as Joi.string().required(), which enforces only that the value is a non-empty string. No allowlist of external hostnames, no blocklist of RFC 1918 or link-local ranges, and no scheme validation are applied before the value is forwarded to the database SDK for connection establishment.
When a VectorDB entry is created or updated, the SDK uses the supplied host directly to open a TCP connection. Because the connection attempt originates from the Budibase server process, it traverses internal network boundaries that would otherwise be inaccessible to the attacker. Differences in connection timing and error messages between reachable and unreachable hosts allow an attacker to enumerate internal services and determine whether specific addresses are live. In cloud environments, the AWS EC2 metadata service at 169.254.169.254, the GCP metadata server at metadata.google.internal, and equivalent endpoints for other providers are all reachable this way.
Builder access is a realistic precondition in multi-tenant or team deployments, as the builder role is intended to allow application development without granting administrative privileges over the underlying infrastructure.
PoC
python import requests import time
BASEURL = "https://TARGETBUDIBASEINSTANCE" SESSION = requests.Session()
loginresp = SESSION.post(f"{BASEURL}/api/global/auth/default/login", json={ "username": "builder@example.com", "password": "builderpassword" }) token = loginresp.cookies.get("budibase:auth") or loginresp.json().get("token") SESSION.headers.update({"Cookie": f"budibase:auth={token}"})
targets = [ ("169.254.169.254", 80), ("localhost", 5432), ("10.0.0.1", 22), ]
for host, port in targets: start = time.time() resp = SESSION.post(f"{BASEURL}/api/ai/vectordb", json={ "name": f"probe{host.replace('.', '')}{port}", "provider": "pgvector", "host": host, "port": port, "database": "db" }) elapsed = time.time() - start print(f"host={host} port={port} status={resp.statuscode} time={elapsed:.2f}s body={resp.text[:200]}")
Impact
An attacker with builder access can use the Budibase server as a proxy to probe internal network topology, determine which hosts and ports are reachable from the server, and potentially interact with unauthenticated internal services including cloud instance metadata endpoints. In environments where cloud metadata endpoints expose credentials or instance identity documents, successful retrieval of metadata could lead to privilege escalation or lateral movement within the cloud environment. The attack requires no interaction beyond a single authenticated API request per probe target.
Other sources
Budibase is an open-source low-code platform. Prior to 3.35.3, the VectorDB configuration endpoint in Budibase accepts a host parameter that undergoes no validation against internal IP ranges, reserved hostnames, or URL schemes. Any authenticated user with builder-level access can supply an arbitrary host value such as 169.254.169.254 or localhost, causing the server to initiate outbound TCP connections to internal network addresses or cloud metadata endpoints on their behalf.This vulnerability is fixed in 3.35.3.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/@budibase/serverto a version that resolves this vulnerability.Fixed in 3.35.3 - Configuration
Replace the current Joi.string().required() validator for the VectorDB host field with stricter validation: enforce a whitelist of allowed external hostnames or validate that the host is not in RFC1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), not link-local (169.254.0.0/16), and not a reserved metadata hostname (e.g., metadata.google.internal). Also validate and reject URL schemes (only accept bare hostnames/IPs and ports as appropriate).
Budibase VectorDB configuration endpoint vectorDB.host validation = disallow RFC1918, link-local, reserved hostnames, and URL schemes; enforce allowlist or strict hostname/IP validation - Compensating control
Restrict or block outbound TCP connections from the Budibase server to internal and cloud metadata endpoints via network controls (egress firewall rules, ACLs, or proxy): at minimum block 169.254.169.254 and RFC1918 ranges, and prevent access to provider metadata hostnames such as metadata.google.internal.
- Operational
If you suspect exploitation, review audit logs for VectorDB create/update requests from builder accounts, investigate any successful connections to internal or metadata endpoints, and rotate any cloud credentials or secrets that may have been exposed as a result of metadata retrieval or similar access.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-48148?
The severity of CVE-2026-48148 is medium with a CVSS score of 5.3.
How do I fix CVE-2026-48148?
To fix CVE-2026-48148, upgrade Budibase to version 3.35.3 or later.
What type of vulnerability is CVE-2026-48148?
CVE-2026-48148 is classified as a Server-Side Request Forgery (SSRF) vulnerability.
Who is affected by CVE-2026-48148?
Any authenticated user with builder-level access in Budibase versions prior to 3.35.3 is affected by CVE-2026-48148.
What can an attacker do with CVE-2026-48148?
An attacker can leverage CVE-2026-48148 to supply arbitrary host parameters, potentially accessing unauthorized internal services.