CVE-2026-103250
7
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n8n-io | n8n | 0 < 1.123.80 | affected |
| n8n-io | n8n | 2.0.0 < 2.39.6 | affected |
| n8n-io | n8n | 2.40.0 < 2.40.1 | affected |
Weaknesses
- CWE-943: Improper Neutralization of Special Elements in Data Query Logic
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-w24g-6454-7w7f
- https://www.vulncheck.com/advisories/n8n-before-1.123.80-2.39.6-and-2.40.1-nosql-injection-via-mongodb-chat-memory
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.