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.3%top 82%

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

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

Description

n8n is an open source workflow automation platform. Prior to 2.24.0, an authenticated user with workflow edit access could supply a malicious filter value in the MongoDB node's Find And Replace operation. The value was not validated before being passed to MongoDB as a query filter, allowing unintended documents to be matched and overwritten with attacker-controlled content. This vulnerability is fixed in 2.24.0.

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.24.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:24:57 UTC

Technical Analysis

CVE-2026-54313 describes an SQL injection vulnerability in the n8n workflow automation platform. Specifically, before version 2.24.0, the MongoDB node's Find And Replace operation did not validate filter values supplied by authenticated users with workflow edit access. This improper neutralization of special elements allowed attackers to manipulate the query filter, causing unintended documents to be matched and overwritten with attacker-controlled content. The vulnerability is resolved in n8n version 2.24.0.

Potential Impact

An attacker with authenticated workflow edit privileges can exploit this vulnerability to overwrite unintended documents in the MongoDB database with arbitrary content. This could lead to data corruption or unauthorized data manipulation within the affected workflows.

Mitigation Recommendations

Upgrade n8n to version 2.24.0 or later, where this vulnerability has been fixed. Since no official vendor advisory or patch link is provided, verify the upgrade from the official n8n release notes or repository to ensure the fix is applied.

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: 6a3aafb0eed863c81e44dd63

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

Last enriched: 06/23/2026, 16:24:57 UTC

Last updated: 08/06/2026, 00:41:14 UTC

Views: 56

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