{"id":"GHSA-wvqj-9wv4-7ff5","summary":"NocoDB: Path Traversal via SQLite Source Filename","details":"### Summary\nAn authenticated user with base-create permission can attach a SQLite source pointing at\nan arbitrary file on the NocoDB host, including NocoDB's own internal databases.\n\n### Details\nThe SQLite client and the base/integration create services accepted a caller-supplied\nfilename and passed it to `fs.exists` and `fs.open('w')` without restricting the location.\nA user could point a source at `noco.db`, at a tenant database under `nc_minimal_dbs/`,\nor at any writable path the NocoDB process can reach, and then read or overwrite its\ncontents through the regular table APIs.\n\n### Impact\nDisclosure and modification of NocoDB internal state, of other tenants' databases, and\nof any file the NocoDB process can read or write. Authentication and base-create\npermission are required.\n\n### Credit\nThis issue was reported by [@Mouhebbenelwafi](https://github.com/Mouhebbenelwafi).","aliases":["CVE-2026-47385"],"modified":"2026-07-20T21:30:43.445458941Z","published":"2026-06-05T16:20:20Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-06-05T16:20:20Z","nvd_published_at":"2026-06-23T21:17:00Z","cwe_ids":["CWE-22"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-wvqj-9wv4-7ff5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47385"},{"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-wvqj-9wv4-7ff5/GHSA-wvqj-9wv4-7ff5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}