Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain co-builder role on target Budibase application
-
DeliveryConnect to builder WebSocket app room
-
ExploitWait for SSO-authenticated victim to trigger automation test
-
ExecutionReceive unsanitized WebSocket broadcast or poll test status endpoint
-
PersistExtract oauth2.accessToken and oauth2.refreshToken from trigger.outputs.user
-
ImpactAuthenticate to external OAuth2-protected APIs as the victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all three of the following conditions to be satisfied simultaneously: first, the attacker must already hold co-builder access to the same Budibase application as the victim - co-builder is an authenticated, invitation-based role and cannot be self-assigned by external parties; second, the victim must be authenticated to Budibase via an SSO provider that populates OAuth2 tokens (the isSSOUser() check in getUserContextBindings() must be true and user.oauth2 must contain a non-empty accessToken) - users authenticating with local username/password or LDAP accounts are not affected; and third, the victim must actively trigger an automation test run in the builder UI while the attacker is either connected to the same WebSocket room or able to poll the test status endpoint. Exploitation is confined to the development/builder environment; production automation runs are not the attack vector. The token exposure window is bounded by the duration of the in-memory cache entry before cleanup. |
| Impact | The CVSS 3.1 score of 5.7 (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N) is well-calibrated: the network vector and low complexity reflect straightforward exploitation once inside the builder environment, while the required victim interaction (UI:R) and the need for existing co-builder access (PR:L) meaningfully constrain the attacker pool compared to unauthenticated network-exploitable flaws. The high confidentiality impact is justified because OAuth2 refresh tokens in particular grant persistent, renewable access to external services - this is not a transient data leak. No EPSS score was available in the provided intelligence, so probabilistic exploitation likelihood cannot be quantitatively stated; the vulnerability is absent from CISA KEV, indicating no confirmed widespread exploitation. Despite the moderate aggregate score, the real-world consequence for collaborative SSO-integrated Budibase deployments is significant: even a mid-sized municipal IT team in Tczew using Budibase for internal tooling should treat this as urgent if co-builders share SSO-authenticated sessions, since stolen refresh tokens enable sustained impersonation against any external OAuth2 API the automation was built to call. The attack is trivially repeatable with standard HTTP or WebSocket client tooling once co-builder access exists, requiring no memory corruption, fuzzing, or binary exploitation. |
| Exploit ScenarioDerived | A malicious co-builder of a shared Budibase application connects to the builder WebSocket room for the target app and waits for an SSO-authenticated colleague to initiate an automation test run. The attacker either passively receives the BuilderSocketEvent.AutomationTestProgress WebSocket broadcast - which at the time of the vulnerability contained the victim's full user context including oauth2.accessToken and oauth2.refreshToken - or actively polls the test status HTTP endpoint using the known appId and automationId, both of which are visible within the shared builder UI. The attacker extracts the tokens and uses them to authenticate against external OAuth2-protected services as the victim. No public proof-of-concept code has been identified, but the technique requires only standard HTTP and WebSocket client tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder credentials to any co-builder of the same application, in all versions prior to 3.39.25. When an SSO-authenticated user runs an automation test in the Budibase builder, the full trigger outputs - including the user's OAuth2 access and refresh tokens - are broadcast without sanitization via WebSocket to every builder connected to the same application room, and are simultaneously stored in a server-side in-memory cache accessible to any co-builder via the test status polling endpoint. A vendor-released patch is available in version 3.39.25; no active exploitation has been confirmed and no public proof-of-concept has been identified at time of analysis.
RemediationAI
Upgrade Budibase to version 3.39.25 or later, which is the vendor-released patch for this issue. The fix is available at https://github.com/Budibase/budibase/releases/tag/3.39.25 and corresponds to commit bca426de7dc36d680285295655dc640dea2aab21. For teams unable to patch immediately, the most targeted compensating control is to audit and restrict co-builder membership on applications where SSO-authenticated users run automation tests, ensuring that untrusted collaborators are removed from the builder role - note that this disrupts legitimate collaborative development workflows. A second compensating control is to disable OAuth2 token propagation into automation context if the affected automations do not actually require calling external OAuth2-protected APIs on behalf of the authenticated user; however, this will break any automation that relies on delegated API calls and must be evaluated per-application. No network-layer workaround exists because the exposure occurs within the authenticated builder session over legitimate application channels.
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 a Node.js low-code platform (CPE: cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*) that lets teams collaboratively build internal applications and automations through a shared builder UI. The root cause is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), arising from an architectural gap between two correct-in-isolation subsystems. The getUserContextBindings() function in packages/server/src/sdk/users/utils.ts legitimately injects OAuth2 access and refresh tokens into user context bindings so automations can call external OAuth2-protected APIs on behalf of the authenticated user. However, the automation test controller in packages/server/src/api/controllers/automation.ts passed this full user object - including the oauth2 subtree - into the automation execution pipeline as trigger event data, where it was placed verbatim into trigger.outputs. These outputs were then (1) broadcast to the entire app builder WebSocket room via BuilderSocketEvent.AutomationTestProgress without filtering to the originating socket, and (2) stored in an in-memory Map in packages/server/src/automations/testProgress.ts keyed only by appId:automationId, with no per-user isolation. The fix introduces sanitizeAutomationTestResult to deep-clone and strip user.oauth2 from all trigger and step outputs before any broadcast or storage, and changes the cache key to appId:automationId:userId to enforce user-scoped isolation.
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
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Co-builder role required (PR:L); victim must actively run a test (UI:R); only OAuth2 tokens are disclosed with no integrity or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Budibase is an open-source low-code platform. Prior to 3.39.25, packages/server/src/api/controllers/automation.ts returned automation test results containing trigger.outputs.user.oauth2, broadcast BuilderSocketEvent.AutomationTestProgress to the app room, and stored progress in packages/server/src/automations/testProgress.ts without user scoping. A co-builder could receive or poll another SSO-authenticated builder test and obtain OAuth2 access and refresh tokens. The fix adds sanitizeAutomationTestResult and isolates progress by user. This issue is fixed in version 3.39.25.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
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
Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep
EUVD-2026-57432
GHSA-gh4h-34gr-87r7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB