Budibase: OAuth2 Token Disclosure via Automation Test Results Broadcast to Other Builders
budibase
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @budibase/server npm |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M