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

Medium 6.1 Published Updated

Attackers can read, create, or overwrite files by manipulating the database path parameter in the n8n SQLite node.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-54687?

CVE-2026-54687 is a medium-severity path traversal vulnerability in DangerBlack n8n-node-sqlite3, published on 27 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-54687?

2 open source packages ship an affected version, including n8n-nodes-sqlite3. It affects 1 product.

PackageAffectedFixed in
n8n-nodes-sqlite3 npmAll versions1.0.0
n8n-nodes-sqlite3 npmAll versions1.0.0

Products include Dangerblack N8n-Node-Sqlite3.

How do I fix CVE-2026-54687?

Upgrade n8n-nodes-sqlite3 to 1.0.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-54687 being exploited?

There is no known exploitation of CVE-2026-54687 in the wild and no public exploit code.

Sources

Also known as GHSA-q7m3-rhxg-7vxr.

Is CVE-2026-54687 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free