{"id":"GHSA-9wgh-m22w-9xj8","summary":"NocoDB: Hidden LTAR Column Exposure in Public Shared-View Relation Endpoints","details":"### Summary\nThe public shared-view relation endpoints accepted a caller-supplied column\nID without verifying that the column was visible in the shared view, so\nanyone holding a share UUID could read links from any LTAR column on the\nview's table — including columns the view owner had hidden.\n\n### Details\n`publicMmList`, `publicHmList`, and `relDataList` already ensured that the\nrequested column belonged to the view's model, but did not check the\nview-column entry's `show` flag. All three handlers now also fetch the\nshared view's column entries and reject the request unless the matching\nentry has `show=true`. The four public relation routes covered by the fix\nare:\n\n- `GET /api/v2/public/shared-view/:uuid/rows/:rowId/mm/:columnId` (many-to-many)\n- `GET /api/v2/public/shared-view/:uuid/rows/:rowId/hm/:columnId` (has-many)\n- `GET /api/v2/public/shared-view/:uuid/rows/:rowId/{ln,om}/:columnId`\n  (links / one-to-many — both share the many-to-many handler)\n- `GET /api/v2/public/shared-view/:uuid/nested/:columnId` (form/gallery\n  picker)\n\n### Impact\nAnyone holding a share UUID could enumerate the full set of linked records\nfor any hidden LTAR column on the view's table by calling the relation\nendpoint directly, even when the same column was correctly omitted from the\npublic `/rows` response.\n\n### Credit\nThis issue was reported by [@leduckhuong](https://github.com/leduckhuong).","aliases":["CVE-2026-47279"],"modified":"2026-07-20T21:30:34.076689001Z","published":"2026-06-05T15:52:54Z","database_specific":{"cwe_ids":["CWE-284"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-06-05T15:52:54Z","nvd_published_at":"2026-06-23T21:16:58Z"},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-9wgh-m22w-9xj8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47279"},{"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-9wgh-m22w-9xj8/GHSA-9wgh-m22w-9xj8.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:N/VA:N/SC:N/SI:N/SA:N"}]}