CVE-2026-54687
MEDIUM 6.1CVSS 4.0n8n-nodes-sqlite3 vulnerable to path traversal via user-controlled database file path (db_path parameter)
n8n-nodes-sqlite3 is a node for operating a local SQLite database from n8n. Prior to 1.0.0, nodes/SqliteNode/v1/SqliteV1.node.ts exposes the db_path database file path as a node parameter that permits data expressions from upstream workflow input. A workflow author who maps untrusted input to db_path can allow a remote attacker to select which SQLite file the n8n process opens, enabling traversal outside the intended database location and potentially reading, creating, or overwriting files accessible to the process. This issue is fixed in version 1.0.0.
- Published
- 27 Aug 2026
- Last modified
- 23 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-q7m3-rhxg-7vxr
- Sources
- NVDJSONOSV GHSA-q7m3-rhxg-7vxrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.1 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dangerblack | n8n-node-sqlite3cpe:2.3:a:dangerblack:n8n-node-sqlite3:1.0.0:*:*:*:*:node.js:*:* |
= 1.0.0 | |
| OSV | npm | n8n-nodes-sqlite3 | < 1.0.0 | 1.0.0 |
References
- https://github.com/DangerBlack/n8n-node-sqlite3/commit/145a8876ff12375813bdcd4ae4fe78f460c53a98 · Patch, WEB
- https://github.com/DangerBlack/n8n-node-sqlite3/pull/25 · Issue Tracking, WEB
- https://github.com/DangerBlack/n8n-node-sqlite3/security/advisories/GHSA-q7m3-rhxg-7vxr · Patch, Vendor Advisory, WEB
- https://github.com/DangerBlack/n8n-node-sqlite3 · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 27 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2026)