Katalog CVE

CVE-2026-92587

ŚrednieCVSS 5.0
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

n8n przed wersjami 1.123.76, 2.37.7 i 2.38.2 ma podatność w węźle Git, która pozwala uwierzytelnionemu użytkownikowi na odczyt repozytoriów Git poza skonfigurowanym katalogiem (N8N_RESTRICT_FILE_ACCESS_TO). Poprzez zagnieżdżenie repozytorium poniżej skonfigurowanej ścieżki, użytkownik może sprawić, że walidacja URL przejdzie, a git faktycznie odczyta dane spoza dozwolonego obszaru.

Ocena ryzyka

Ryzyko wycieku danych – użytkownik może odczytać zawartość repozytoriów Git, do których nie powinien mieć dostępu, co może prowadzić do ujawnienia poufnych informacji.

Rekomendacja

Zaleca się aktualizację do wersji 1.123.76, 2.37.7 lub 2.38.2, które naprawiają tę podatność. Alternatywnie można wyłączyć węzeł Git, dodając n8n-nodes-base.git do NODES_EXCLUDE.

Inne podatności w n8n

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

n8n is a workflow automation platform. In versions before 1.123.76, 2.37.7, and 2.38.2, the Git node validated a relative remote URL against the configured repositoryPath but then invoked git with that path as its working directory; git walked up to the enclosing repository's top level and resolved the same relative URL from there. An authenticated user (member) who nested the repository one level below the configured path could therefore make an identical URL string pass the file-access check while git resolved it outside the sandbox. A subsequent fetch or pull read a git repository outside N8N_RESTRICT_FILE_ACCESS_TO and merged its objects into the user's own repository, where their contents could be read back. The issue is fixed in n8n 1.123.76, 2.37.7, and 2.38.2, which resolve the remote reference from the directory git actually operates in before applying the sandbox check. As a workaround, the Git node can be disabled by adding n8n-nodes-base.git to NODES_EXCLUDE.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS