EXPOSURES › CVE-2026-77070
CVE-2026-77070
CRITICALn8n's MongoDB node lacks operator sanitization, allowing NoSQL injection that can delete or exfiltrate entire database collections.
An attacker influencing the query can execute arbitrary MongoDB commands via unfiltered operators like $ne or $where, leading to full-collection disclosure or deletion. DIBs must ensure n8n is patched to 1.123.69+ and restrict external data inputs to prevent this data breach and compliance violation.
Shame score — A critical CVE with a CVSS 9.8 score that allows full-collection deletion or disclosure, indicating a severe lack of input sanitization in a widely used workflow automation tool.
▸ RECOMMENDED ACTION Critical severity — schedule patching of the affected products.
n8n before 1.123.69, 2.33.4, and 2.34.1 contains a NoSQL injection vulnerability in the MongoDB node's Find, Delete, and Aggregate operations, which parse the Query parameter as JSON after expression resolution without sanitizing MongoDB operators. An attacker who can influence the resolved query (e.g., via externally-controlled data) can inject operators such as $ne or $where, turning an intended single-document lookup into full-collection disclosure, full-collection deletion, or other operations on the database server.