Skip to content

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

MediumCVSS 6.1 EPSS 0.79%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm n8n-nodes-sqlite3(npm) < 1.0.0 1.0.0 Fixed
DangerBlack n8n-node-sqlite3 = 1.0.0; = < 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
DangerBlack n8n-node-sqlite3 = < 1.0.0 No fix listed
npm n8n-nodes-sqlite3(npm) < 1.0.0 1.0.0
DangerBlack n8n-node-sqlite3 = 1.0.0 No fix listed

References