SQL Injection Affecting n8n-nodes-base package, versions <2.25.2>=2.26.0 <2.26.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.39% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NNODESBASE-17890576
  • published8 Jul 2026
  • disclosed23 Jun 2026
  • creditSeungMyung Lee

Introduced: 23 Jun 2026

NewCVE-2026-54310  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade n8n-nodes-base to version 2.25.2, 2.26.1 or higher.

Overview

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to SQL Injection in the postgres and timescaleDb nodes, which incorporate node parameters into database queries without adequate parameterization. A user with permission to create or modify workflows can execute arbitrary SQL against the connected database, within the privileges of the configured database account, by supplying crafted parameters to either node. Exploitation requires an authenticated user with workflow edit permission, and the impact is bounded by the privileges of the account the node connects with.

CVSS Base Scores

version 4.0
version 3.1