Skip to main content
EPSS 0.6%top 54%

CVE-2026-54687: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in DangerBlack n8n-node-sqlite3

0
Medium
VulnerabilityCVE-2026-54687cvecve-2026-54687cwe-22
Published: 08/27/2026 (08/27/2026, 17:06:40 UTC)
Source: CVE Database V5
Vendor/Project: DangerBlack
Product: n8n-node-sqlite3

Description

CVE-2026-54687 is a path traversal vulnerability in the DangerBlack n8n-node-sqlite3 node prior to version 1.0.0. The vulnerability arises because the db_path parameter, which specifies the SQLite database file path, can be controlled by untrusted workflow input. This allows an attacker to cause the n8n process to open arbitrary files outside the intended database directory, potentially leading to unauthorized reading, creation, or overwriting of files accessible to the process. The issue is fixed in version 1.0.0.

CVSS v4.0

Score 6.1medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

DangerBlack

n8n-node-sqlite3

Affected versions
<1.0.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:24:17 UTC

Technical Analysis

The n8n-node-sqlite3 node before version 1.0.0 exposes the db_path parameter as a node input that can be influenced by upstream workflow data. This improper limitation of pathname to a restricted directory (CWE-22) enables a remote attacker who can control workflow input to perform path traversal attacks. By manipulating db_path, the attacker can cause the n8n process to open arbitrary SQLite files or other files accessible to the process, potentially leading to unauthorized file access or modification. The vulnerability has a CVSS 4.0 score of 6.1 (medium severity) and is fixed in version 1.0.0.

Potential Impact

An attacker who can supply untrusted input to the db_path parameter in a workflow can cause the n8n process to open arbitrary files outside the intended database location. This can lead to unauthorized reading, creation, or overwriting of files accessible to the process, potentially compromising data confidentiality and integrity within the scope of the n8n process permissions.

Mitigation Recommendations

Upgrade to n8n-node-sqlite3 version 1.0.0 or later, where this path traversal vulnerability is fixed. Until upgraded, avoid mapping untrusted input to the db_path parameter to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T22:53:58.561Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a909cf4acd9273b49b2cdd2

Added to database: 08/27/2026, 20:24:20 UTC

Last enriched: 09/10/2026, 04:24:17 UTC

Last updated: 10/10/2026, 06:48:17 UTC

Views: 32

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses