Skip to content

CVE-2026-54313 n8n: NoSQL Injection in MongoDB Node Find And Replace Operation

MediumCVSS 6.5 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

n8n is an open source workflow automation platform. Prior to 2.24.0, an authenticated user with workflow edit access could supply a malicious filter value in the MongoDB node's Find And Replace operation. The value was not validated before being passed to MongoDB as a query filter, allowing unintended documents to be matched and overwritten with attacker-controlled content. This vulnerability is fixed in 2.24.0.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 2.24.0 2.24.0 Fixed
npm n8n(npm) < 2.24.0 2.24.0 Fixed
n8n-io n8n = < 2.24.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
n8n-io n8n = < 2.24.0 No fix listed
npm n8n(npm) < 2.24.0 2.24.0
n8n < 2.24.0 2.24.0

References