CVE-2026-54313

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductN8n
PublishedJun 23, 2026
First seenJun 23, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • n8n n8n2.24.0 or later
  • n8n2.24.0 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 2.24.02.24.0
n8nnpmv < 2.24.02.24.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.