CVE-2026-103250

n8n before 1.123.80, 2.39.6, and 2.40.1 NoSQL Injection via MongoDB Chat Memory

State
Published
Severity
7.0 High
Published
Oct 1, 2026
Updated
Oct 6, 2026
Reserved
Sep 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:LVulnCheck
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:LVulnCheck

Weaknesses

  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

Affected Products

ProductVersions
n8nn8n-io
  • before 1.123.80Affected
  • 2.0.0 to before 2.39.6Affected
  • 2.40.0 to before 2.40.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.