Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-54313

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

June 16, 2026

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.

References

  • github.com/advisories/GHSA-jpq7-226w-6cxx
  • github.com/n8n-io/n8n/security/advisories/GHSA-jpq7-226w-6cxx
  • nvd.nist.gov/vuln/detail/CVE-2026-54313

Code Behaviors & Features

Detect and mitigate CVE-2026-54313 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.24.0

Fixed versions

  • 2.24.0

Solution

Upgrade to version 2.24.0 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/n8n/CVE-2026-54313.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:25 +0000.