Vulnerability · Published Sep 8, 2026 · Assigned by GitHub_M
CVE-2026-86079n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers
Medium 6.3
In plain English
A medium-severity path traversal in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Elasticsearch and ElasticSecurity nodes interpolated workflow-controlled index and document identifiers directly into REST request paths. An identifier containing path separators or dot segments could select another index or a cluster administration endpoint under the stored Elasticsearch credential. The affected request construction includes packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts and the missing toPathSegment encoding. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 1.123.76 | GHSA-f2cp-m7mv-8jpv |
| npm | n8n | 2.38.2 | GHSA-f2cp-m7mv-8jpv |
| npm | n8n | 2.37.7 | GHSA-f2cp-m7mv-8jpv |
Affected products (as reported)
Weakness: CWE-22 · 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
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-f2cp-m7mv-8jpv x_refsource_CONFIRM
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 x_refsource_MISC