Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @budibase/server
  4. ›
  5. GHSA-fcrw-f7gg-6g9f

GHSA-fcrw-f7gg-6g9f: Budibase: SSO OAuth2 Token Leakage via User Metadata Endpoints to Power-Role Users

July 24, 2026

The /api/users/metadata and /api/users/metadata/:id endpoints in @budibase/server return full global user profiles to any user with POWER role or above. For SSO-authenticated users (OIDC, Google), the response includes oauth2.accessToken and oauth2.refreshToken fields, leaking identity provider credentials to other users who should not have access to them.

References

  • github.com/Budibase/budibase/commit/7b8ba11a2c8b233c35e7728dd752dba25ef919a4
  • github.com/Budibase/budibase/commit/80a31f6c3354620aa90e50af8a2c614333084621
  • github.com/Budibase/budibase/pull/19110
  • github.com/Budibase/budibase/releases/tag/3.39.25
  • github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f
  • github.com/advisories/GHSA-fcrw-f7gg-6g9f

Code Behaviors & Features

Detect and mitigate GHSA-fcrw-f7gg-6g9f with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.39.25

Fixed versions

  • 3.39.25

Solution

Upgrade to version 3.39.25 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/@budibase/server/GHSA-fcrw-f7gg-6g9f.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:25 +0000.