| Component | n8n |
| Severity | high (CVSS 8.1) |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L |
| Published (NVD) | 2026-10-01 |
| Last modified | 2026-10-06 |
| Affected versions | < 1.123.80 >= 2.0.0, < 2.39.6 >= 2.40.0, < 2.40.1 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 1.123.80, 2.39.6, 2.40.1 |
| Weakness | CWE-943 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Deferred) lists no affected versions of n8n for this CVE. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE.
NVD 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.
What to do
- Upgrade n8n to the fixed release of the branch you run:
1.123.80,2.39.6or2.40.1, or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-103250
- 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