# CVE-2026-54687: n8n-nodes-sqlite3: Path traversal via user-controlled database file path (db_path parameter)

- Severity: Medium 6.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-08-27T17:06:40.278Z
- Modified: 2026-09-23T16:24:30.740Z
- Also known as: GHSA-q7m3-rhxg-7vxr
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- DangerBlack n8n-node-sqlite3: < 1.0.0; 1.0.0
- n8n-nodes-sqlite3 (npm): before 1.0.0

## Every score

- GitHub_M: CVSS:4.0 6.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/DangerBlack/n8n-node-sqlite3/security/advisories/GHSA-q7m3-rhxg-7vxr> (patch, vendor-advisory, web)
- <https://github.com/DangerBlack/n8n-node-sqlite3/pull/25> (issue-tracking, web)
- <https://github.com/DangerBlack/n8n-node-sqlite3/commit/145a8876ff12375813bdcd4ae4fe78f460c53a98> (patch, web)
- <https://github.com/DangerBlack/n8n-node-sqlite3> (package)

## Sources

- CVE List: [CVE-2026-54687](https://www.cve.org/CVERecord?id=CVE-2026-54687), CVE Terms of Use, modified 2026-08-28
- GitHub Advisory Database: [GHSA-q7m3-rhxg-7vxr](https://github.com/advisories/GHSA-q7m3-rhxg-7vxr), CC-BY-4.0, modified 2026-08-27
- NVD: [CVE-2026-54687](https://nvd.nist.gov/vuln/detail/CVE-2026-54687), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-54687 · Whole record: https://cve.day/CVE-2026-54687.json · Rebuilt by cve.day 2026-11-25T22:59:35.528Z
