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

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-09-03T11:22:17.297Z
- Modified: 2026-10-29T21:17:34.027Z
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: from 2.36.0 before 2.36.2; before 2.35.4 (not affected: 2.36.2; 2.35.4)
- n8n n8n: before 2.35.4; from 2.36.0 before 2.36.2

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-wxwj-8wv6-vpw2> (mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/n8n-before-2.36.2-query-injection-via-elasticsearch-firestore-nodes> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85167](https://www.cve.org/CVERecord?id=CVE-2026-85167), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-85167](https://nvd.nist.gov/vuln/detail/CVE-2026-85167), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-85167 · Whole record: https://cve.day/CVE-2026-85167.json · Rebuilt by cve.day 2026-11-25T22:59:36.179Z
