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: 7.1 [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]
CVE-ID: CVE-2026-54313
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

n8n

How to mitigate CVE-2026-54313

Install security update from vendor's website.

n8n - update to 2.24.0

External References

Related Security Bulletins