Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFind public Budibase query endpoint
-
DeliverySend unauthenticated POST to /api/v2/queries/:queryId
-
ExploitSupply absolute/parameterized path to attacker host
-
ExecutionServer attaches stored auth headers pre-resolution
-
PersistCredentials delivered to attacker server
-
ImpactReuse tokens against upstream API
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a REST datasource configured with stored credentials - a Bearer token, Basic auth, or static defaultHeaders - and (2) a query using that datasource that has been published with the PUBLIC role, making POST /api/v2/queries/:queryId reachable without any session; the attacker then supplies a request path that is either an absolute URL beginning with 'http' or a user-controlled {{ parameter }} resolving to an attacker-chosen host, so that getUrl() discards the datasource base URL. Limiting factors: no credentials are leaked if no REST datasource stores auth secrets, or if no such query is exposed at the PUBLIC role (queries requiring authentication are not anonymously reachable). The AT:P metric captures this configuration prerequisite; it is not exploitable against a default install with no public REST-backed queries. |
| Impact | The vendor CVSS 4.0 score of 9.0 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N) reflects a network-reachable, unauthenticated attack whose only real gate is the AT:P attack requirement - a REST datasource with stored credentials must already exist AND a query using it must be published with the PUBLIC role. That is a meaningful but common-in-practice condition for platforms exposing public forms/apps. A working PoC is published in the advisory, which materially raises real-world risk beyond raw score. No EPSS score and no CISA KEV entry were provided, so exploitation probability data is missing; absence of a KEV listing means no confirmed active exploitation. Signals are consistent rather than conflicting: high technical impact (theft of reusable upstream API credentials, enabling downstream compromise - the source of the subsequent-system SC/SI impact) plus low attack complexity plus a public exploit make this a genuine priority for any internet-exposed Budibase instance that uses REST datasources with authentication, not merely a high-CVSS paper risk. |
| Exploit ScenarioDerived | An attacker discovers an internet-facing Budibase app whose REST datasource holds a Bearer token for an internal API, and where a query using that datasource is published with the PUBLIC role. With a single unauthenticated HTTP POST to /api/v2/queries/:queryId, they supply an absolute URL (or a {{ parameter }} path) pointing at their own server, and Budibase dutifully forwards the stored credentials to the attacker's host. A public PoC in the GHSA advisory demonstrates the full flow end to end. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Credential disclosure in the Budibase low-code platform (versions prior to 3.40.1) lets an unauthenticated attacker steal a REST datasource's stored Bearer, Basic, or static-header secrets. Because RestIntegration._req in packages/server/src/integrations/rest.ts attaches getAuthHeaders and defaultHeaders before resolving the request host, a PUBLIC-role query invoked via POST /api/v2/queries/:queryId can be pointed at an attacker-controlled host - using an absolute URL or a {{ parameter }} in the path - and the API-masked (--secret-value--) credentials are delivered in cleartext. Publicly available exploit code exists (full PoC in the GHSA advisory); no public evidence of active exploitation. This is a bypass of the earlier GHSA-3gp5 fix, which closed the base-URL rewrite vector but added no same-origin check.
RemediationAI
Vendor-released patch: upgrade Budibase to 3.40.1 or later, which adds origin validation (the query path must remain on the datasource origin, returning HTTP 400 'REST query path must remain on the datasource origin') and a rejectCrossOriginRedirects option in fetchWithBlacklist to block cross-origin redirect-based leaks; see https://github.com/Budibase/budibase/pull/19239 and commit 8b1bca71501b11c68310351ef4f2c3028b2d5f08. If immediate upgrade is not possible, unpublish or restrict any query that is exposed at the PUBLIC role, particularly those backed by REST datasources that store Bearer/Basic tokens or static auth headers (trade-off: breaks any legitimately public REST-backed functionality); additionally rotate any credentials stored in REST datasources that may already have been exposed, and place the Budibase instance behind network controls limiting who can reach /api/v2/queries/:queryId. Advisory: https://github.com/Budibase/budibase/security/advisories/GHSA-mqhr-6j6h-74p5.
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 an open-source low-code application platform whose REST datasource integration (packages/server/src/integrations/rest.ts) proxies outbound HTTP calls on behalf of user-defined queries. The root cause is a CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path handling) issue in getUrl(): when the parameter-enriched query path begins with 'http', the datasource base URL is discarded and the path becomes the absolute request URL. Critically, _req() builds authHeaders from the stored auth configs and merges config.defaultHeaders into the request BEFORE the destination host is resolved, and there is no comparison between the resolved request host and the datasource's configured origin. The execute route runs under authorized(QUERY, WRITE), but a query published at the PUBLIC role executes with no session, exposing the flaw to anonymous callers. The affected component is cpe:2.3:a:budibase:budibase (the @budibase/server npm package).
Know when Budibase 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N
Unauthenticated network reach (PR:N) but requires a pre-existing PUBLIC query over a credentialed REST datasource (AC:H); stolen upstream credentials affect another system (S:C) with confidentiality-only impact (C:H, I:N, A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Budibase is an open-source low-code platform. Prior to 3.40.1, RestIntegration._req in packages/server/src/integrations/rest.ts attached credentials from getAuthHeaders and defaultHeaders without requiring the final request destination to match the datasource origin. An unauthenticated caller of a PUBLIC POST /api/v2/queries/:queryId query could supply an absolute or parameterized path to an attacker-controlled host and receive the stored bearer, basic, or static-header credentials. This issue is fixed in version 3.40.1.
Executive ViewAI
Budibase low-code platform versions before 3.40.1 contain a critical credential exposure flaw that allows unauthenticated attackers to extract stored REST API secrets; publicly available exploit code exists. This creates immediate risk of unauthorized access to downstream APIs, databases, and services integrated through Budibase.
No vendor-released patch identified at time of analysis. Interim mitigations: immediately disable PUBLIC-role queries for REST datasources; implement strict network segmentation restricting Budibase instance access; rotate all stored REST API credentials to invalidate captured secrets; enable enhanced logging and real-time alerting on REST integration query execution; isolate affected Budibase instances from production environments.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
EUVD-2026-57413
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB