All vulnerabilities

Servers and applications

CVE-2026-73308

OAuth2 Token Disclosure via Automation Test Results Broadcast to Other Builders

Severity
Medium 5.7
Published
22 Jul 2026
Last changed
12 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.40.0
Exploit chance
0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Information exposure (CWE-200)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Also known as
GHSA-gh4h-34gr-87r7
Sources
Project advisories (GitHub)

Description

When an SSO-authenticated user tests an automation in the Budibase builder, their OAuth2 access token and refresh token are included in the automation test results. These results are broadcast via WebSocket to all builders connected to the same dev app and stored in an in-memory cache accessible to any builder who polls the test status endpoint. This allows any co-builder of the same app to steal the testing user's OAuth2 tokens.

The vulnerability exists because getUserContextBindings() intentionally includes OAuth2 tokens in user context bindings (so automations can call external APIs), but the automation test pipeline exposes the full result — including these tokens — to all builders of the same app without sanitization.

In packages/server/src/sdk/users/utils.ts:134-161:

In packages/server/src/api/controllers/automation.ts:311-312:

In packages/server/src/threads/automation.ts:409-413:

The full result (including trigger.outputs.user.oauth2) is exposed via two vectors:

From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.40.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References