Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-54310: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in n8n-io n8n

0
Medium
VulnerabilityCVE-2026-54310cvecve-2026-54310cwe-89
Published: 06/23/2026 (06/23/2026, 15:40:15 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could supply a crafted parameters to the TimescaleDB and/or legacy Postgres v1 node's allowing arbitrary SQL to be injected and executed against the connected database within the privileges of the configured database account. This vulnerability is fixed in 2.25.7 and 2.26.2.

CVSS v4.0

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Affected software

n8n-io/n8n
pkg:npm/n8n-io/n8n
Affected versions
<2.25.7<2.26.2 >=2.25.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 16:25:11 UTC

Technical Analysis

CVE-2026-54310 is an SQL injection vulnerability (CWE-89) in the n8n open source workflow automation platform. Specifically, in versions before 2.25.7 and 2.26.2, an authenticated user with workflow creation or modification permissions can supply crafted parameters to the TimescaleDB and legacy Postgres v1 nodes. This input is not properly neutralized, allowing arbitrary SQL commands to be executed against the connected database under the privileges of the configured database account. The vulnerability is addressed in versions 2.25.7 and 2.26.2.

Potential Impact

Successful exploitation allows an authenticated user with limited privileges to execute arbitrary SQL commands on the database, potentially leading to unauthorized data access, modification, or disruption within the scope of the database account's privileges. This could compromise the integrity and confidentiality of data managed by the n8n platform.

Mitigation Recommendations

A fix is available in n8n versions 2.25.7 and 2.26.2. Users should upgrade to at least these versions to remediate the vulnerability. No additional vendor advisory is provided, so patch status is confirmed by the version information in the description.

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-12T18:42:02.222Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3aafb0eed863c81e44dd5a

Added to database: 06/23/2026, 16:09:20 UTC

Last enriched: 06/23/2026, 16:25:11 UTC

Last updated: 08/04/2026, 12:46:13 UTC

Views: 51

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