GHSA-96fh-m4r8-6v9v

Suggest an improvement
Source
https://github.com/advisories/GHSA-96fh-m4r8-6v9v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-96fh-m4r8-6v9v/GHSA-96fh-m4r8-6v9v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-96fh-m4r8-6v9v
Aliases
  • CVE-2026-47381
Published
2026-06-05T16:04:32Z
Modified
2026-06-05T16:15:06.949657649Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
NocoDB: Cross-Workspace Integration Use in Connection Test
Details

Summary

A user in one workspace could exercise another workspace's integration through the testConnection endpoint by supplying its ID, because the integration was fetched in a bypass scope and the caller's permission check matched any base in any workspace.

Details

The connection-test endpoint fetched the integration in RootScopes.BYPASS scope and checked only that the integration was non-private and that the caller held an owner/creator role on any base in any workspace. The permission lookup is now scoped to the integration's workspace by joining on fk_workspace_id, and the controller rejects requests where the integration's workspace differs from the request's workspace.

Impact

Cross-tenant access to integration configuration through the connection-test endpoint, including the ability to drive the resolved database with the other workspace's credentials. Authentication with creator-or-owner role on any base in any workspace was sufficient.

Credit

This issue was reported by @DongyangLyu.

Database specific
{
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-05T16:04:32Z",
    "cwe_ids": [
        "CWE-290"
    ]
}
References

Affected packages

npm / nocodb

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2026.05.1

Database specific

last_known_affected_version_range
"<= 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"