Advisory

GHSA-wvqj-9wv4-7ff5

Also known as: CVE-2026-47385

Summary

NocoDB: Path Traversal via SQLite Source Filename

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-05 16:20 UTC
Modified
2026-07-20 21:30 UTC

Affected packages and fixes

nocodb

npm · All systems

Affected

  • introduced 0, fixed 2026.05.1 (ecosystem)

Fixed versions

2026.05.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences