CVE-2026-48153
Received Received - Intake
Remote Code Execution in Budibase OAuth2 SDK

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: GitHub, Inc.

Description
Budibase is an open-source low-code platform. Prior to 3.39.0, fetchToken in the OAuth2 SDK makes a POST to a builder-supplied URL with plain node-fetch, skipping the blacklist.isBlacklisted check that every other outbound fetch path in the codebase uses. The Joi schema for the OAuth2 URL has no scheme or host restriction. This vulnerability is fixed in 3.39.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-05-28
AI Q&A
2026-05-27
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
budibase budibase 3.39.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-48153 is a Server-Side Request Forgery (SSRF) vulnerability in Budibase versions prior to 3.39.0. It occurs because the fetchToken function in the OAuth2 SDK makes a POST request to a user-supplied URL without enforcing blacklist checks that are used elsewhere in the codebase.

The Joi schema for the OAuth2 URL does not restrict the scheme or host, allowing attackers to send requests to internal hosts or cloud metadata endpoints. This means an attacker can exploit this to make the server send requests to internal services that should normally be inaccessible.


How can this vulnerability impact me? :

This vulnerability can have serious impacts including cross-tenant data exfiltration and credential theft.

  • Attackers can bypass tenant isolation and enumerate other tenants' databases such as CouchDB databases, user data, and app definitions.
  • Attackers can exfiltrate IAM credentials by targeting AWS cloud metadata endpoints, exposing instance role credentials and associated permissions.
  • Self-hosted deployments are vulnerable to access to local services like CouchDB, Redis, MinIO, or other hosts in the pod network.

How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by monitoring for unusual POST requests made by the Budibase OAuth2 SDK to builder-supplied URLs that bypass blacklist checks. Specifically, look for outbound requests targeting internal IP ranges such as 127.0.0.1, 169.254.169.254, or other private IP addresses that should normally be blocked.

Network detection can involve capturing and analyzing HTTP POST requests from Budibase instances to internal or cloud metadata endpoints, especially those that should be inaccessible.

Suggested commands to detect potential exploitation include using network monitoring tools like tcpdump or curl to test access to internal endpoints from the Budibase server.

  • Use tcpdump to capture outbound POST requests from the Budibase server: tcpdump -i <interface> 'tcp and dst net 127.0.0.0/8 or dst net 169.254.0.0/16'
  • Use curl from the Budibase server to test access to internal metadata endpoints: curl -X POST http://169.254.169.254/latest/meta-data/iam/security-credentials/
  • Check application logs for OAuth2 token fetch attempts to unexpected or internal URLs.

What immediate steps should I take to mitigate this vulnerability?

The immediate mitigation step is to upgrade Budibase to version 3.39.0 or later, where the vulnerability is fixed.

If upgrading is not immediately possible, apply the recommended fix by adding blacklist validation before the fetch call in the OAuth2 SDK and setting the fetch configuration to use redirect mode "manual" instead of "follow".

Alternatively, replace the vulnerable fetch call with the secure fetchWithBlacklist function that enforces blacklist checks and redirect validation.

Additionally, restrict network access to internal IP ranges and cloud metadata endpoints from the Budibase server to reduce the attack surface.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

CVE-2026-48153 enables cross-tenant data exfiltration by bypassing tenant isolation, allowing attackers to enumerate other tenants' databases and potentially access sensitive information. It also permits exfiltration of IAM credentials from AWS cloud metadata endpoints, exposing instance role credentials with associated permissions.

Such unauthorized access and data leakage can lead to violations of data protection regulations and standards like GDPR and HIPAA, which require strict controls on data confidentiality and access. The high confidentiality impact of this SSRF vulnerability increases the risk of non-compliance with these regulations.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart