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: OAuth2 Token Disclosure via Automation Test Results Broadcast to Other Builders

0
Medium
Published: 07/24/2026 (07/24/2026, 21:25:20 UTC)
Source: GCVE Database
Product: @budibase/server

Description

Budibase server versions up to 3.38.1 have a vulnerability where OAuth2 access and refresh tokens of SSO-authenticated users are exposed in automation test results. These tokens are broadcast via WebSocket to all builders connected to the same app and stored in an in-memory cache accessible to any builder polling the test status endpoint. This allows co-builders to steal OAuth2 tokens, enabling unauthorized access to external services. The tokens remain available in memory for about 5 minutes. The issue arises because user context bindings include OAuth2 tokens, which are not sanitized before broadcasting test results.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

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:30 UTC

Technical Analysis

In Budibase server (<=3.38.1), when an SSO-authenticated user tests an automation, their OAuth2 tokens are included in the user context bindings and passed through the automation execution pipeline. The full automation test result, including these tokens, is broadcast via WebSocket to all builders connected to the same app and stored in an in-memory cache keyed by app and automation IDs. This design flaw allows any co-builder of the same app to retrieve another user's OAuth2 access and refresh tokens either by listening to WebSocket events or by polling the test status endpoint. The tokens provide access to external APIs and persistent access via refresh tokens. The vulnerability is due to lack of sanitization of sensitive tokens before broadcasting or storing test results.

Potential Impact

OAuth2 access tokens and refresh tokens for external services (e.g., Google Workspace, Azure AD, GitHub) are exposed to any builder user connected to the same Budibase app. Attackers can use these tokens to access external APIs as the victim user and maintain long-term access by generating new access tokens from refresh tokens. The exposure is passive via WebSocket broadcasts and active via test status polling. The tokens remain accessible in memory for approximately 5 minutes, increasing the window for exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The recommended fix is to sanitize automation test results by stripping OAuth2 tokens before broadcasting or storing them. Specifically, tokens should be removed from the results passed to the progress emission and test status endpoints. Until a patch is available, restrict builder user access to trusted users only and avoid testing automations with SSO-authenticated users in shared app environments.

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-gh4h-34gr-87r7
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a65422c9c2644c7f808a493

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

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

Last updated: 07/26/2026, 01:23:11 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