🔍 CVE-2026-35397

8.8
CVSS Score
HIGH
2026-05-05
2026-08-28 16:17
✅ 완료

🇰🇷 한글 설명

Jupyter Server 2.17.0 및 이전 버전의 REST API에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 인증된 사용자가 인코딩된 경로를 사용하여 설정된 root_dir를 벗어나 동일한 접두사로 시작하는 형제 디렉토리에 접근할 수 있습니다. 이를 통해 공격자는 해당 디렉토리 내의 파일을 읽고, 쓰고, 삭제할 수 있습니다.

💡 쉬운 설명

로그인한 사용자가 원래 허용된 폴더를 넘어, 이름이 비슷한 옆 동네 폴더까지 몰래 들여다보거나 파일을 지울 수 있는 문제입니다. 특히 폴더 이름이 비슷하게 설정된 환경에서 다른 사용자의 데이터가 위험할 수 있습니다.

🇺🇸 원문 (English)

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, a path traversal vulnerability in the REST API allows an authenticated user to escape the configured root_dir and access sibling directories whose names begin with the same prefix as the root_dir. For example, with a root_dir named "test", the API permits access to a sibling directory named "testtest" through a crafted request to the /api/contents endpoint using encoded path components. An attacker can read, write, and delete files in affected sibling directories. Multi-tenant deployments using predictable naming schemes are particularly at risk, as a user with a directory named "user1" could access directories for user10 through user19 and beyond. A user who can choose a single-character folder name could gain access to a significant number of sibling directories. Version 2.18.0 contains a fix. As a workaround, ensure folder names do not share a common prefix with any sibling directory.

📍 영향받는 시스템

Jupyter Server 2.17.0 및 그 이전 버전

⚔️ 공격 벡터

/api/contents 엔드포인트에 인코딩된 경로를 포함한 요청을 보내 root_dir의 접두사와 일치하는 형제 디렉토리에 접근

🛡️ 대응 방법

Jupyter Server를 2.18.0 버전으로 업데이트하거나, 폴더 이름이 다른 형제 디렉토리와 접두사를 공유하지 않도록 설정

🔧 검증 코드

출력된 버전이 2.18.0 미만(예: 2.17.0)이면 취약한 버전입니다.

Shell / Script
pip show jupyter_server | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server