Improper Neutralization of Special Elements in Data Query Logic in n8n - #VU150762

 

Improper Neutralization of Special Elements in Data Query Logic in n8n - #VU150762

Published: September 17, 2026


Vulnerability identifier: #VU150762
CSH Severity: High
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-943
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to read, modify, or delete other users\' conversation histories.

The vulnerability exists due to improper neutralization of special elements in a MongoDB query in the MongoDB Chat Memory node when processing sessionId values from Chat Trigger request bodies. A remote attacker can submit a MongoDB query operator in place of a session identifier to read, modify, or delete other users\' conversation histories.

Only workflows that combine an unauthenticated Chat Trigger node with a MongoDB Chat Memory node are affected.


Affected software

n8n

Remediation

Install security update from vendor's website.

n8n - addressed in versions 1.123.80, 2.39.6, 2.40.1

External References

Related Security Bulletins