n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain a NoSQL injection vulnerability in the MongoDB Chat Memory node that fails to validate the sessionId parameter. Unauthenticated attackers can supply MongoDB query operators in the sessionId field to access conversation histories from other users and perform unauthorized write and delete operations.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
N8n N8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
|
— |
1.123.80
|
|
N8n N8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
|
2.0.0
|
2.39.6
|
|
N8n N8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
|
2.40.0
|
2.40.1
|