Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n-nodes-sqlite3
  4. ›
  5. CVE-2026-54687

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

August 27, 2026

In versions prior to 1.0.0, the SQLite node accepted the database file path as a direct node parameter visible and editable in the workflow. A workflow author who mapped untrusted user input to the db_path field could allow an attacker to control which file was opened by SQLite, potentially enabling path traversal to read or overwrite arbitrary files accessible to the n8n process.

The vulnerability requires the workflow author to explicitly wire untrusted input to the db_path parameter, so it does not affect standalone deployments where only trusted users author workflows. However, in multi-tenant or user-facing n8n deployments the risk is elevated.

Fixed in v1.0.0 by moving the database path into a credential (v2 node architecture), which is stored server-side and not controllable by workflow input data.

References

  • github.com/DangerBlack/n8n-node-sqlite3/commit/145a8876ff12375813bdcd4ae4fe78f460c53a98
  • github.com/DangerBlack/n8n-node-sqlite3/pull/25
  • github.com/DangerBlack/n8n-node-sqlite3/security/advisories/GHSA-q7m3-rhxg-7vxr
  • github.com/advisories/GHSA-q7m3-rhxg-7vxr
  • nvd.nist.gov/vuln/detail/CVE-2026-54687

Code Behaviors & Features

Detect and mitigate CVE-2026-54687 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0

Fixed versions

  • 1.0.0

Solution

Upgrade to version 1.0.0 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/n8n-nodes-sqlite3/CVE-2026-54687.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 28 Aug 2026 00:19:25 +0000.