n8n — Vulnerability (CVE-2026-54313)
Date: 2026-06
Affected: n8n/n8n
Attack vector: sql-injection
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-54313
CWE: CWE-89
CVSS: 7.7 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):