{"id":"GHSA-96fh-m4r8-6v9v","summary":"NocoDB: Cross-Workspace Integration Use in Connection Test","details":"### Summary\nA user in one workspace could exercise another workspace's integration through the\n`testConnection` endpoint by supplying its ID, because the integration was fetched in\na bypass scope and the caller's permission check matched any base in any workspace.\n\n### Details\nThe connection-test endpoint fetched the integration in `RootScopes.BYPASS` scope and\nchecked only that the integration was non-private and that the caller held an\nowner/creator role on any base in any workspace. The permission lookup is now scoped\nto the integration's workspace by joining on `fk_workspace_id`, and the controller\nrejects requests where the integration's workspace differs from the request's workspace.\n\n### Impact\nCross-tenant access to integration configuration through the connection-test endpoint,\nincluding the ability to drive the resolved database with the other workspace's\ncredentials. Authentication with creator-or-owner role on any base in any workspace\nwas sufficient.\n\n### Credit\nThis issue was reported by [@DongyangLyu](https://github.com/DongyangLyu).","aliases":["CVE-2026-47381"],"modified":"2026-07-20T21:30:34.076236Z","published":"2026-06-05T16:04:32Z","database_specific":{"cwe_ids":["CWE-290"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-06-05T16:04:32Z","nvd_published_at":"2026-06-23T21:16:59Z"},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-96fh-m4r8-6v9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47381"},{"type":"PACKAGE","url":"https://github.com/nocodb/nocodb"},{"type":"WEB","url":"https://github.com/nocodb/nocodb/releases/tag/2026.05.1"}],"affected":[{"package":{"name":"nocodb","ecosystem":"npm","purl":"pkg:npm/nocodb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2026.05.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2026.05.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-96fh-m4r8-6v9v/GHSA-96fh-m4r8-6v9v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}