medium4.9
CVE-2026-73304
Budibase: SSO OAuth2 Token Leakage via User Metadata Endpoints to Power-Role Users
Impact
Budibase is an open-source low-code platform. Prior to 3.39.25, GET /api/users/metadata and GET /api/users/metadata/:id returned user objects processed by packages/server/src/utilities/global.ts without removing oauth2.accessToken or oauth2.refreshToken. A user with the POWER role could retrieve the identity-provider credentials of SSO-authenticated users and use the refresh tokens for persistent access to connected services. This issue is fixed in version 3.39.25.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @budibase/server | < 3.39.25 | 3.39.25 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-fcrw-f7gg-6g9f
- https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
- https://github.com/Budibase/budibase/pull/19110
- https://github.com/Budibase/budibase/commit/7b8ba11a2c8b233c35e7728dd752dba25ef919a4
- https://github.com/Budibase/budibase/commit/80a31f6c3354620aa90e50af8a2c614333084621
- https://github.com/Budibase/budibase/releases/tag/3.39.25