SQL Injection in N8n
CVE-2026-54313
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.003 (25.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 25.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- N8n
- N8n-Io N8n — versions < 2.24.0
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-jpq7-226w-6cxx (Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-54313?
- CVE-2026-54313 is a high-severity vulnerability in N8n, classified under SQL Injection. CVSS score: 7.7/10. Published 2026-06-23.
- How severe is CVE-2026-54313?
- High severity. CVSS v3 base score is 7.7 out of 10.