CVE-2026-85167: Improper Neutralization of Special Elements in Data Query Logic in n8n-io n8n
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.
CVSS v4.0
Score 6.3medium
Affected software
n8n-io
n8n
n8n-io
n8n
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-85167 describes a query injection vulnerability in n8n prior to versions 2.35.4 and 2.36.2. The flaw exists in the Elasticsearch Document Get All and Google Cloud Firestore Document Query operations, which construct JSON queries by directly embedding user-supplied expression values. Malicious input containing quote and brace characters can prematurely close the intended JSON field and inject additional query operators, effectively transforming a restricted single-document query into a broader full-collection read. This improper neutralization of special elements in data query logic can lead to unauthorized data exposure. The vulnerability affects the cloud service version of n8n, and a patch is available from the vendor.
Potential Impact
Successful exploitation allows an attacker with limited privileges to manipulate query logic in Elasticsearch and Firestore operations, potentially escalating a single-document lookup into a full-collection read. This could lead to unauthorized access to a larger set of data than intended, increasing data exposure risk. The vulnerability does not require user interaction and has no known exploits in the wild at this time.
Mitigation Recommendations
Since this is a cloud-hosted service, the vendor manages remediation server-side. Users should verify with the vendor advisory that their instance is updated to at least version 2.35.4 or 2.36.2 or later, where the vulnerability is patched. No additional user action is required if the vendor has applied the fix. Patch status is confirmed as available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-03T11:05:09.078Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Is Cloud Service
- true
Threat ID: 6a995c08acd9273b49dbb6a7
Added to database: 09/03/2026, 11:37:44 UTC
Last enriched: 09/07/2026, 13:18:02 UTC
Last updated: 10/16/2026, 18:48:25 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.