Skip to content

CVE-2026-103250 n8n before 1.123.80, 2.39.6, and 2.40.1 NoSQL Injection via MongoDB Chat Memory

HighCVSS 7.0 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm n8n < 1.123.80; >= 2.0.0, < 2.39.6; >= 2.40.0, < 2.40.1 1.123.80, 2.39.6, 2.40.1 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n < 1.123.80 1.123.80
npm n8n >= 2.0.0, < 2.39.6 2.39.6
npm n8n >= 2.40.0, < 2.40.1 2.40.1

References