Original description
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
- n8n < 1.123.80≥ 2.40.0 < 2.40.1≥ 2.0.0 < 2.39.6 Fixed in: 1.123.80, 2.40.1, 2.39.6 repository or package match
Details
- Published
- 2026-10-01
- Last modified
- 2026-10-06
- CVSS vector
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- CWE
- CWE-943
- EPSS (30-day exploit probability)
- 0.20% (percentile 10)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.