CVE-2026-47388
JSON

2.3low

NocoDB: Missing Ownership Check in MCP Attachment Read

Severity
2.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.27% (higher than 12% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-xxpj-q764-9r6q

Description

NocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, a low-privilege MCP token holder with knowledge of an attachment path could read any file in shared storage, including attachments belonging to other bases and workspaces, because the MCP readAttachment tool did not verify the file's ownership. This vulnerability is fixed in 2026.05.1.

Affected

Product or packageVersionsReported by
nocodb nocodb< 2026.05.1CVE List
nocodb (npm)before 2026.05.1GitHub Advisory Database

All scores

GitHub_M2.3low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

NocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, a low-privilege MCP token holder with knowledge of an attachment path could read any file in shared storage, including attachments belonging to other bases and workspaces, because the MCP readAttachment tool did not verify the file's ownership. This vulnerability is fixed in 2026.05.1.

GitHub Advisory Database
Summary

A low-privilege MCP token holder with knowledge of an attachment path could read any file in shared storage, including attachments belonging to other bases and workspaces, because the MCP readAttachment tool did not verify the file's ownership.

Details

The MCP readAttachment tool accepts caller-supplied path/url values and streams the file via the storage adapter. The handler now looks up the path in nc_file_references and requires a non-deleted row whose base_id matches the caller's MCP context before streaming; otherwise it returns Attachment is not accessible from this MCP context. The lookup tolerates both download/uploads/... and uploads/... styles.

Impact

Arbitrary read against shared storage scoped to attachments the caller's MCP context should not see. Exploitation requires an MCP token and a known attachment path.

Credit

This issue was reported by @helwor-01.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47388 changed 2026-06-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-xxpj-q764-9r6q changed 2026-07-20CC-BY-4.0
NVDCVE-2026-47388 changed 2026-06-25Public domain