What’s Vulnerable › Vulnerabilities

CVE-2026-85167: n8n before 2.36.2 Query Injection via Elasticsearch Firestore Nodes

Description

n8n before 2.35.4 and 2.36.x before 2.36.2 contain a query injection vulnerability in the Elasticsearch Document Get All and Google Cloud Firestore Document Query operations, which build their JSON query by interpolating expression values directly into the query string before parsing. A value containing quote and brace characters can close the intended field and introduce new query operators, turning an intended single-document lookup into a full-collection read.

Affected products

How to fix

Upgrade to a fixed version: n8n-io n8n 2.35.4, 2.36.2; n8n-io n8n 2.36.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-85167 or the next vulnerability affects your stack