{"id":"CVE-2026-73304","published":"2026-08-13T22:05:00Z","modified":"2026-08-14T15:09:18Z","title":"Budibase: SSO OAuth2 Token Leakage via User Metadata Endpoints to Power-Role Users","vendor":"Budibase","product":"budibase","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00485,"percentile":0.42669,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-fcrw-f7gg-6g9f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Budibase/budibase/pull/19110","tags":["x_refsource_MISC"]},{"url":"https://github.com/Budibase/budibase/commit/80a31f6c3354620aa90e50af8a2c614333084621","tags":["x_refsource_MISC"]},{"url":"https://github.com/Budibase/budibase/releases/tag/3.39.25","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":8.53},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"budibase","affectedVersions":[{"vendor":"Budibase","product":"budibase","versions":["< 3.39.25"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T15:08:08.264692Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@budibase/server","vulnerableRanges":["<3.39.25"],"patched":["3.39.25"],"from":["GHSA-fcrw-f7gg-6g9f"],"provenance":"source"}],"summary":{"text":"Budibase, an open-source low-code platform, has a flaw in its user metadata endpoints (GET /api/users/metadata and GET /api/users/metadata/:id, processed by the server's global utilities) that returns OAuth2 access and refresh tokens belonging to SSO-authenticated users. An attacker who already holds the POWER role, reachable over the network with no user interaction required, can retrieve those identity-provider credentials and use the refresh tokens to maintain persistent access to connected services.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:09Z"},"euvd":{"id":"EUVD-2026-58527","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-budibase-cve-2026-73304","children":[{"from":"CVE-2026-73304","to":"CVE-2026-73506","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-fcrw-f7gg-6g9f","via":"related"}]}],"packageHistory":[{"cve":"CVE-2026-54351","published":"2026-06-26","fixed":"3.39.9","kev":false},{"cve":"CVE-2026-54352","published":"2026-06-26","fixed":"3.39.9","kev":false},{"cve":"CVE-2026-54350","published":"2026-06-26","fixed":"3.39.12","kev":false,"link":{"from":"CVE-2026-54350","to":"CVE-2026-73304","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@budibase/server","fromFixed":"3.39.12","toFixed":"3.39.25","daysApart":48}]}},{"cve":"CVE-2026-73304","published":"2026-08-13","fixed":"3.39.25","kev":false},{"cve":"CVE-2026-35219","published":"2026-08-17","fixed":"3.41.3","kev":false,"link":{"from":"CVE-2026-73304","to":"CVE-2026-35219","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@budibase/server","fromFixed":"3.39.25","toFixed":"3.41.3","daysApart":4}]}}],"package":"npm:@budibase/server"}}