n8n Path Traversal Vulnerability (CVE-2026-86079) — Medium Severity

A security vulnerability has been identified in n8n, an open-source platform for automating workflows. This flaw, tracked as CVE-2026-86079, could allow an attacker to gain unauthorized access to certain parts of your Elasticsearch or ElasticSecurity setup when n8n is configured to interact with them.

In simple terms, n8n’s Elasticsearch and ElasticSecurity nodes were not properly handling how they created paths for their requests. If a malicious input containing special characters like “..” (dot-dot) or path separators was used as an index or document identifier in a workflow, it could trick the system. This misinterpretation could lead to the workflow gaining access to unintended data indices or even some cluster administration functions, all under the existing Elasticsearch credentials stored within n8n.

The core of the problem lies in how n8n constructs these request paths, specifically in the packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts file, where important path encoding was overlooked. This oversight allowed for the path traversal issue to occur.

CVE Details

  • Product: n8n
  • CVE ID: CVE-2026-86079
  • Published Date: September 8, 2026
  • Severity: Medium
  • Status: Analyzed

Affected Products

The n8n workflow automation platform is affected by this vulnerability. Specifically, all versions of n8n prior to the following releases are vulnerable:

  • n8n version 1.123.76
  • n8n version 2.37.7
  • n8n version 2.38.2

Current Status

This vulnerability has been officially analyzed. This means that the details of the flaw are understood, and its impact has been assessed.

Severity Level

The severity level for CVE-2026-86079 is rated as Medium. A medium severity rating indicates that while the vulnerability could be exploited, it might require specific conditions or user interaction, or the impact might be limited compared to critical flaws. However, it still poses a significant risk as it could lead to unauthorized data access or control over parts of your Elasticsearch environment if exploited.

Possible Solutions

The good news is that n8n has already released patches to address this vulnerability. To protect your n8n installations and integrated Elasticsearch/ElasticSecurity nodes, it is crucial to update to one of the fixed versions immediately:

  • Upgrade to n8n version 1.123.76 or later.
  • Upgrade to n8n version 2.37.7 or later.
  • Upgrade to n8n version 2.38.2 or later.

Always ensure your software is up-to-date to benefit from the latest security enhancements. For a deeper understanding of similar issues, you might find our article on “Understanding Path Traversal Vulnerabilities” helpful.

References

https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76

https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7

https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2

https://github.com/n8n-io/n8n/security/advisories/GHSA-f2cp-m7mv-8jpv

Alex Joseph
Alex Joseph

Alex Joseph is a Senior Support Staff professional with deep experience in server management, web hosting technologies, and cybersecurity operations. He works daily with Linux servers, cloud platforms, performance tuning, and security hardening, giving him strong real-world technical knowledge. Along with his support role, he write about security best practices, hosting infrastructure, and software management.