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.
Published: 2026-08-27
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw allows an attacker who can supply untrusted data to the db_path parameter to perform path traversal beyond the intended SQLite database directory. This can let the attacker read, create, or overwrite arbitrary files that the n8n process can access, potentially exposing sensitive data or altering system files and compromising the integrity of the host. The weakness is a classic input‑validation flaw, categorized as CWE‑22.

Affected Systems

Vendor DangerBlack provides the vulnerable package n8n-node-sqlite3. Any installation of this node before version 1.0.0 is affected, as the node parameter db_path is exposed in the SqliteV1 node implementation. The issue was fixed in version 1.0.0, so installs of 1.0.0 or later are not impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 6.1, indicating medium severity. EPSS information is currently unavailable, and the advisory does not list it in the CISA KEV catalog. The likely attack vector requires that an attacker be able to inject untrusted input into the workflow that controls db_path; this could happen if the workflow is exposed to external users and does not adequately sanitize input. Successful exploitation would enable an attacker to read or modify any file the n8n process can reach, which can lead to data exfiltration, tampering, or the creation of malicious files.

Generated by OpenCVE AI on August 28, 2026 at 06:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update n8n-node-sqlite3 to version 1.0.0 or later where the bug is fixed
  • Configure the workflow so that the db_path parameter is not bound to untrusted input; restrict or validate upstream data
  • Run the n8n service with the least privilege necessary, and consider deploying it in a sandboxed environment to limit filesystem access

Generated by OpenCVE AI on August 28, 2026 at 06:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-q7m3-rhxg-7vxr n8n-nodes-sqlite3 vulnerable to path traversal via user-controlled database file path (db_path parameter)
History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title n8n-nodes-sqlite3: Path traversal via user-controlled database file path (db_path parameter)
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.1, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T17:06:40.278Z

Reserved: 2026-06-15T22:53:58.561Z

Link: CVE-2026-54687

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:49.500

Modified: 2026-08-27T20:17:49.500

Link: CVE-2026-54687

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T06:30:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')