Improper Neutralization of Special Elements in Data Query Logic in n8n - #VU140990
Published: August 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to modify the behavior of database operations and affect the confidentiality, integrity, or availability of downstream systems.
The vulnerability exists due to improper neutralization of special elements in the MongoDB node Query parameter in Find, Delete, and Aggregate operations when processing expressions resolved into JSON queries. A remote attacker can supply data containing MongoDB operators such as $ne or $where to modify the intended query and affect the confidentiality, integrity, or availability of downstream systems.
Exploitation requires a workflow that embeds externally controlled data into the Query field through expression interpolation.