Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M

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

Medium 6.5

In plain English

A medium-severity SQL injection in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.5Medium
Exploit odds (30 days)0.3%top 72.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n2.24.0GHSA-jpq7-226w-6cxx

Affected products (as reported)

VendorProductVersions
n8n-io n8n < 2.24.0

Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

References