Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Server: Budibase: Unauthenticated REST Datasource Credential Theft via Cross-Origin Auth Leak

0
Critical
Published: 07/24/2026 (07/24/2026, 21:22:51 UTC)
Source: GCVE Database
Product: @budibase/server

Description

Budibase server versions up to 3.38.1 have a critical vulnerability where stored REST datasource credentials (Bearer/Basic tokens and static headers) are attached to outgoing requests without verifying the destination host. This allows an unauthenticated attacker to craft a query with a request path pointing to an attacker-controlled server, causing the server to leak sensitive credentials. The vulnerability is exploitable via the public role, requiring only one HTTP request. Credentials are masked in the API but can be recovered in cleartext through this flaw.

Affected software

npmghsa
@budibase/server
Affected versions
<=3.38.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:56:41 UTC

Technical Analysis

Budibase's server component attaches stored REST datasource credentials to outgoing requests before resolving the request URL and does not verify that the destination host matches the datasource's base URL. Because query paths can be absolute URLs or user-supplied parameters, an attacker can direct requests to any host, causing the server to send sensitive credentials to an attacker-controlled endpoint. The execute route for queries is accessible without authentication when published with the PUBLIC role, enabling unauthenticated credential theft. This vulnerability bypasses a previous fix (GHSA-3gp5) that addressed base-URL rewriting but did not add same-origin checks for the query path vector.

Potential Impact

An unauthenticated attacker can steal sensitive REST datasource credentials, including Bearer tokens, Basic tokens, and static headers, by causing the Budibase server to send these credentials to an attacker-controlled host. This leads to credential disclosure (CWE-200) and potential unauthorized access to backend services or APIs that rely on these credentials. The vulnerability affects all users of Budibase server versions up to 3.38.1 who publish queries with the PUBLIC role and use REST datasources with stored credentials.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid publishing queries with the PUBLIC role that use REST datasources with stored credentials. Restrict query execution permissions to authenticated and authorized users only. Monitor for updates from Budibase regarding a security patch addressing this host verification flaw.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mqhr-6j6h-74p5
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
CRITICAL
Cvss Version
null

Threat ID: 6a65422e9c2644c7f808a5f5

Added to database: 07/25/2026, 23:09:34 UTC

Last enriched: 07/25/2026, 23:56:41 UTC

Last updated: 07/26/2026, 03:45:07 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses