🔍 CVE-2026-92587

5.0
CVSS Score
MEDIUM
2026-09-16
2026-10-29 21:17
✅ 완료

🇰🇷 한글 설명

n8n의 Git 노드에서 상대 경로 URL 검증 로직의 결함으로 인해 발생하는 보안 취약점입니다. 인증된 사용자가 설정된 샌드박스 경로를 벗어나 시스템 내의 다른 Git 저장소에 접근하고 그 내용을 읽어올 수 있습니다. 이 문제는 Git이 실제 작업 디렉토리에서 경로를 해석하는 방식과 n8n의 검증 방식 간의 차이로 인해 발생합니다.

💡 쉬운 설명

n8n의 자동화 도구 중 Git 기능을 사용할 때, 허용되지 않은 폴더에 있는 파일을 몰래 가져올 수 있는 보안 구멍이 발견되었습니다. 공격자가 특수한 경로를 입력하면 시스템의 제한된 구역을 넘어 다른 중요한 파일들을 읽어올 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

n8n versions before 1.123.76, 2.37.7, and 2.38.2

⚔️ 공격 벡터

인증된 사용자가 Git 노드에 조작된 상대 경로 URL을 입력하여 샌드박스 외부의 저장소 데이터를 fetch 또는 pull 함으로써 발생

🛡️ 대응 방법

n8n을 1.123.76, 2.37.7 또는 2.38.2 이상의 버전으로 업데이트하거나, 임시 조치로 NODES_EXCLUDE 환경 변수에 n8n-nodes-base.git을 추가하여 Git 노드를 비활성화함

🔧 검증 코드

명령어 결과에 현재 설치된 n8n 버전이 취약한 버전 범위에 포함되어 나타나면 보안 패치가 필요한 상태입니다.

Shell / Script
npm list -g n8n | grep -E 'n8n@(1\[\.\d+\.\d+\.\d+|2\.37\.[0-7]|2\.38\.[0-2])'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

💻 영향받는 소프트웨어

Git