Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-54313 EUVD-2026-38459GHSA-jpq7-226w-6cxx

n8n: NoSQL Injection in MongoDB Node Find And Replace Operation

Published Jun 23, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
n8n-io n8n < 2.24.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n < 2.24.0 2.24.0 GHSA-jpq7-226w-6cxx

Advisories 2

References