GitHub Advisoryadvisory · npm
GHSA-wvqj-9wv4-7ff5 NocoDB: Path Traversal via SQLite Source Filename
MEDIUM
Official page ↗
- Aliases
- CVE-2026-47385
- Ecosystem
- npm
- Packages
- nocodb
- Severity
- Moderate
- CVSS vector
- 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
- Weaknesses
- CWE-22
- Reviewed
- 2026-06-05
Affected packages
• npm nocodb: < 2026.05.1 → fixed in 2026.05.1
Description
Summary
An authenticated user with base-create permission can attach a SQLite source pointing at
an arbitrary file on the NocoDB host, including NocoDB's own internal databases.
Details
The SQLite client and the base/integration create services accepted a caller-supplied
filename and passed it to `fs.exists` and `fs.open('w')` without restricting the location.
A user could point a source at `noco.db`, at a tenant database under `nc_minimal_dbs/`,
or at any writable path the NocoDB process can reach, and then read or overwrite its
contents through the regular table APIs.
Impact
Disclosure and modification of NocoDB internal state, of other tenants' databases, and
of any file the NocoDB process can read or write. Authentication and base-create
permission are required.
Credit
This issue was reported by @Mouhebbenelwafi.
Related
Alias · CVE (1)
- CVE-2026-47385 NocoDB is software for building databases as spreadsheets. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness