# CVE-2026-86079: n8n path injection in Elasticsearch and ElasticSecurity nodes

Source: https://junglewise.ai/threats/cve-2026-86079-n8n-path-injection-in-elasticsearch-and-elasticsecurity-nodes  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-08. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-86079 · Severity: medium · CVSS 6.5 · Published 2026-09-08

n8n is a workflow automation platform that includes nodes for interacting with Elasticsearch and ElasticSecurity. The vulnerability allows authenticated users to redirect operations intended for one document or index to unintended endpoints, including cluster administration endpoints, by manipulating index and document identifiers with path separators or dot segments. This can result in unauthorized access to sensitive data or cluster administration functions under the stored Elasticsearch credentials.

Technologies: [N8n](https://junglewise.ai/threats/technologies/n8n), [n8n (npm)](https://junglewise.ai/threats/technologies/npm-n8n). Vendors: [N8n](https://junglewise.ai/threats/vendors/n8n), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-86079 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-86079 being exploited in the wild.

**How severe is CVE-2026-86079?** Medium severity, with a CVSS score of 6.5, published 8 September 2026.

**Which products and versions are affected?** N8n < 1.123.76, >= 2.0.0 and < 2.37.7, >= 2.38.0 and < 2.38.2; n8n (npm) SEMVER:introduced=0,fixed=1.123.76.

**Is there a fix for CVE-2026-86079?** Yes. n8n (npm): upgrade to 1.123.76 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-86079 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-86079?** Check whether you run N8n or n8n (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- n8n (npm): upgrade to 1.123.76 or later

  ```sh
  npm install n8n@1.123.76
  ```


## Technical details

The Elasticsearch and ElasticSecurity nodes in n8n construct REST API endpoints by directly interpolating user-provided identifiers (index names, document IDs) into the request path without proper encoding. This path injection vulnerability (CWE-22) allows an attacker with access to n8n workflows to inject path separators ("/") or dot segments ("..") into identifier fields, causing requests to target unintended Elasticsearch endpoints or cluster administration APIs instead of the intended document. The attack requires low privileges (authenticated n8n user) and network access to the n8n instance, with no user interaction required. An attacker can read, modify, or delete data across multiple indices, or access cluster-level administrative functions, all operating under the stored Elasticsearch credentials. The fix encodes each identifier as a single URL path segment and rejects values that normalize away after encoding.

## Affected products

- n8n n8n < 1.123.76, >= 2.0.0 and < 2.37.7, >= 2.38.0 and < 2.38.2

## Identifiers

- CVE-2026-86079
- GHSA-f2cp-m7mv-8jpv

## Timeline

- 2026-09-10: disclosed
- 2026-09-10: patched: Patched in versions 1.123.76, 2.37.7, and 2.38.2

## References

- [https://api.github.com/users/vonypeto](https://api.github.com/users/vonypeto)
- [https://github.com/vonypeto](https://github.com/vonypeto)
- [https://api.github.com/users/vonypeto/gists%7B/gist_id%7D](https://api.github.com/users/vonypeto/gists%7B/gist_id%7D)
- [https://api.github.com/users/vonypeto/repos](https://api.github.com/users/vonypeto/repos)
- [https://avatars.githubusercontent.com/u/56251881?v=4](https://avatars.githubusercontent.com/u/56251881?v=4)
- [https://api.github.com/users/vonypeto/events%7B/privacy%7D](https://api.github.com/users/vonypeto/events%7B/privacy%7D)

## Related threats

- [n8n path traversal in Databricks node](https://junglewise.ai/threats/cve-2026-119557-n8n-from-2-14-0-through-2-46-3-contains-a-path-traversal)
- [n8n remote code execution in deprecated Function nodes](https://junglewise.ai/threats/cve-2026-119408-n8n-before-2-42-6-2-43-x-before-2-43-3-and-3-x-before-3-0-1)
- [n8n Slack Trigger SSRF and token exfiltration](https://junglewise.ai/threats/cve-2026-118679-n8n-before-1-123-83-2-41-4-and-2-42-1-contains-a-server-side)
- [n8n prototype pollution in workflow history compaction](https://junglewise.ai/threats/cve-2026-118678-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-prototype)
- [n8n Local Gateway deep-link missing confirmation re-pairing](https://junglewise.ai/threats/cve-2026-118677-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-missing)
