SQL injection in n8n - CVE-2026-54313

 

SQL injection in n8n - CVE-2026-54313

Published: June 16, 2026


Vulnerability identifier: #VU134562
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-54313
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: n8n
Affected software:
n8n

Detailed vulnerability description

The vulnerability allows a remote user to overwrite documents with attacker-controlled content.

The vulnerability exists due to improper neutralization of special elements in the MongoDB node Find And Replace operation when processing a user-supplied query filter. A remote user can supply a malicious filter value to overwrite documents with attacker-controlled content.

Exploitation requires workflow edit access.


How to mitigate CVE-2026-54313

Install security update from vendor's website.

Sources