CVE-2026-54310: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in n8n-io n8n
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.
AI Analysis
Technical Summary
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.
CVE-2026-54310: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in n8n-io 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.