n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers
Impact
The Elasticsearch and ElasticSecurity nodes built REST endpoints by interpolating user-provided identifiers straight into the request path. A value containing path separators or dot segments changed which endpoint the request actually reached, so an operation intended for one document could hit another index or a cluster administration endpoint instead, under the stored Elasticsearch credential. The patch encodes each identifier as a single URL path segment and rejects values that normalise away.
Patches
The issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Disable the affected nodes by adding
n8n-nodes-base.elasticsearchandn8n-nodes-base.elasticSecurityto theNODES_EXCLUDEenvironment variable if they are not required. - Audit existing workflows that use these nodes and ensure that index and document identifier fields do not accept externally-controlled input.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka npm | n8n | < 1.123.76, >= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7 | 1.123.76, 2.38.2, 2.37.7 |
Odnośniki
- https://github.com/n8n-io/n8n/security/advisories/GHSA-f2cp-m7mv-8jpv
- https://nvd.nist.gov/vuln/detail/CVE-2026-86079
- https://github.com/n8n-io/n8n
- 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
- Wektor CVSS
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- Słabość (CWE)
CWE-22- Platforma
- npm
- Paczka
n8n- Ujawniono
- 10.09.2026
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-f2cp-m7mv-8jpv - CC BY 4.0
Historia podatności: n8n
Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 156
- Pierwsza → ostatnia
- 05.2023 09.2026
- Bez poprawki
- 1
- Wykorzystywana w atakach
- 1
Rozkład istotności
- Krytyczna 24
- Wysoka 58
- Średnia 74
Ujawnienia w latach
- 2023: 3
- 2024: 0
- 2025: 14
- 2026: 139
-
n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.