CVE-2026-103250 PUBLISHED

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

Assigner: VulnCheck
Reserved: 30.09.2026 Published: 01.10.2026 Updated: 01.10.2026

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.

Metrics

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
CVSS Score: 7

Product Status

Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 1.123.80 (excl.)
  • affected from 2.0.0 to 2.39.6 (excl.)
  • affected from 2.40.0 to 2.40.1 (excl.)

Credits

  • trap-bytes reporter

References

Problem Types

  • Improper Neutralization of Special Elements in Data Query Logic CWE