{"id":"GHSA-xxpj-q764-9r6q","revision":"0743cf2ca29e4f0ea20dc6c329e1e272","records":[{"revision":"0743cf2ca29e4f0ea20dc6c329e1e272","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-xxpj-q764-9r6q","aliases":["CVE-2026-47388"],"title":"NocoDB: Missing Ownership Check in MCP Attachment Read","description":"### Summary\nA low-privilege MCP token holder with knowledge of an attachment path could read any\nfile in shared storage, including attachments belonging to other bases and workspaces,\nbecause the MCP `readAttachment` tool did not verify the file's ownership.\n\n### Details\nThe MCP `readAttachment` tool accepts caller-supplied `path`/`url` values and streams\nthe file via the storage adapter. The handler now looks up the path in\n`nc_file_references` and requires a non-deleted row whose `base_id` matches the\ncaller's MCP context before streaming; otherwise it returns\n`Attachment is not accessible from this MCP context`. The lookup tolerates both\n`download/uploads/...` and `uploads/...` styles.\n\n### Impact\nArbitrary read against shared storage scoped to attachments the caller's MCP context\nshould not see. Exploitation requires an MCP token and a known attachment path.\n\n### Credit\nThis issue was reported by [@helwor-01](https://github.com/helwor-01).","state":0,"publishedAt":"2026-06-05T16:22:28+00:00","modifiedAt":"2026-07-20T21:30:44.7944603+00:00","affected":[{"ecosystem":"npm","name":"nocodb","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.05.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-xxpj-q764-9r6q","https://nvd.nist.gov/vuln/detail/CVE-2026-47388","https://github.com/nocodb/nocodb","https://github.com/nocodb/nocodb/releases/tag/2026.05.1"],"sourceUrl":"https://github.com/advisories/GHSA-xxpj-q764-9r6q","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xxpj-q764-9r6q","identifiers":["GHSA-xxpj-q764-9r6q","CVE-2026-47388"]},"retained":false,"historicalAffected":[]}],"coverage":[]}