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

Published Sep 3, 2026
·
Updated

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 Software

1 affected component
n8n n8n<2.35.4, >2.36.0<=2.36.1, <2.36.2

Event History

Sep 3, 2026
CVE Published
via MITRE·11:22 AM
Data Sourced
via MITRE·11:22 AM
DescriptionWeakness

Frequently Asked Questions

1

Which n8n operations are affected?

The affected operations are Elasticsearch Document Get All and Google Cloud Firestore Document Query. The issue arises when these operations construct JSON queries by directly interpolating expression values before parsing.

2

What does an attacker need to exploit this issue?

An attacker needs control over an expression value used in an affected query. A value containing quote and brace characters can terminate the intended field and add query operators.

3

What is the potential impact of successful exploitation?

Successful injection can change an intended single-document lookup into a full-collection read, exposing data beyond the document that the workflow was expected to retrieve.

4

Which versions should be remediated?

Affected versions are n8n before 2.35.4 and versions in the 2.36.x line before 2.36.2. Upgrading to 2.35.4 or 2.36.2, as applicable to the deployment branch, addresses the listed affected ranges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203