# CVE-2026-73308: Budibase OAuth2 token disclosure in automation test results

Source: https://junglewise.ai/threats/cve-2026-73308-budibase-oauth2-token-disclosure-in-automation-test-results  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-24. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-73308 · Severity: low · CVSS 3.1 · Published 2026-07-24

Budibase is a low-code platform that allows builders to create applications and automate workflows. When an SSO-authenticated builder tests an automation, their OAuth2 access and refresh tokens are exposed to all other builders of the same app through WebSocket broadcasts and a test status API endpoint. An attacker with builder access to the same app can steal these tokens to access the victim's external service accounts (Google, Azure AD, GitHub, etc.) indefinitely, even after the original tokens expire.

Technologies: [@budibase/server (npm)](https://junglewise.ai/threats/technologies/budibase-server). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-73308 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-73308 being exploited in the wild.

**How severe is CVE-2026-73308?** Low severity, with a CVSS score of 3.1, published 24 July 2026.

**Which products and versions are affected?** @budibase/server (npm) SEMVER:introduced=0,last_affected=3.38.1.

**Is there a fix for CVE-2026-73308?** A patch was published on 2026-07-22: Version 3.40.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-73308 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-73308?** Check whether you run @budibase/server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is an information disclosure vulnerability in the automation test pipeline. The root cause is that OAuth2 tokens are intentionally included in user context bindings passed to automations (so they can call external APIs), but the full result—including these sensitive tokens—is broadcast via WebSocket to all builders in the app room and stored in an in-memory cache queryable by any builder via GET /api/automations/:id/test/status. No user isolation or sanitization is applied. Attack requires builder-level access to the same app and that a co-builder authenticates via SSO/OIDC. The attacker can passively receive tokens by keeping the builder UI open, or actively poll the test status endpoint. Tokens remain accessible for 5 minutes. Patched in version 3.40.0 with sanitization of OAuth2 tokens from test results before broadcast/storage.

## Affected products

- Budibase @budibase/server <3.40.0

## Identifiers

- CVE-2026-73308
- GHSA-gh4h-34gr-87r7

## Timeline

- 2026-07-24: disclosed
- 2026-07-22: patched: Version 3.40.0

## References

- [https://github.com/Budibase/budibase/security/advisories/GHSA-gh4h-34gr-87r7](https://github.com/Budibase/budibase/security/advisories/GHSA-gh4h-34gr-87r7)
- [https://github.com/Budibase/budibase/pull/19107](https://github.com/Budibase/budibase/pull/19107)

## Related threats

- [Budibase S3 signed upload URL issuance via attachments endpoint](https://junglewise.ai/threats/cve-2026-54356-budibase-s3-signed-upload-url-issuance-via-attachments-endpoint)
- [Budibase automation SSRF in webhook and integration steps](https://junglewise.ai/threats/cve-2026-35219-budibase-automation-ssrf-in-webhook-and-integration-steps)
- [Budibase S3 presigned URL authorization regression](https://junglewise.ai/threats/cve-2026-72859-budibase-s3-presigned-url-authorization-regression)
- [Budibase MySQL DESCRIBE backtick injection via multipleStatements](https://junglewise.ai/threats/cve-2026-73408-budibase-mysql-describe-backtick-injection-via-multiplestatements)
- [Budibase privilege escalation in public role assignment API](https://junglewise.ai/threats/cve-2026-73305-budibase-privilege-escalation-in-public-role-assignment-api)
