All vulnerabilities

Servers and applications

GHSA-wxwj-8wv6-vpw2

Query Injection in Elasticsearch and Google Cloud Firestore Nodes via Unescaped Expression Interpolation

Severity
Medium 6.3
Published
19 Aug 2026
Last changed
19 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.35.4, 2.36.2
Attack
Over the network · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

The Elasticsearch Document Get All and Firestore Document Query operations built their JSON query by interpolating expression values directly into the query string before parsing. A value carrying quote and brace characters could close the intended field and introduce new query operators, turning an intended single-document lookup into a full-collection read.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Audit existing workflows that use the Elasticsearch or Google Cloud Firestore nodes and ensure no expression resolving to externally-controlled data is embedded directly in the query field.
  • Restrict network access to any webhook or trigger endpoints that feed data into these nodes' query fields.
Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 2.36.2
  • Every version before 2.35.4

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References