CVE-2026-40171 Jupyter Notebook and JupyterLab token theft via stored XSS in help command linker
설명
In Jupyter Notebook versions 7.0.0 through 7.5.5, JupyterLab versions 4.5.6 and earlier, and the corresponding @jupyter-notebook/help-extension and @jupyterlab/help-extension packages before 7.5.6 and 4.5.7, a stored cross-site scripting issue in the help command linker can be chained with attacker-controlled notebook content to steal authentication tokens with a single click. An attacker can craft a malicious notebook file containing elements that appear indistinguishable from legitimate controls and trigger execution when a user interacts with them. Successful exploitation allows theft of the user's authentication token and complete takeover of the Jupyter session through the REST API, including reading files, creating or modifying files, accessing kernels to execute arbitrary code, and creating terminals for shell access. This issue has been fixed in Notebook 7.5.6, JupyterLab 4.5.7, @jupyter-notebook/help-extension 7.5.6, and @jupyterlab/help-extension 4.5.7. As a workaround, disable the affected help extensions or set allowCommandLinker to false in the sanitizer configuration.
영향 받는 제품 제품 4개
-
jupyter
notebook
영향 받는 버전
- 7.0.0 이상 7.5.5 이하
해결 버전
해결된 버전 정보가 없습니다.
-
jupyterlab
help-extension
영향 받는 버전
- 4.5.6 이하
해결 버전
해결된 버전 정보가 없습니다.
-
jupyterlab
jupyterlab
영향 받는 버전
- 4.5.6 이하
해결 버전
해결된 버전 정보가 없습니다.
-
jupyter-notebook
help-extension
영향 받는 버전
- 7.0.0 이상 7.5.5 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 4개
-
해결 버전 있음
npm · @jupyterlab/help-extension
영향 받는 버전 · 해결 버전
- 영향 4.5.7 미만 · 해결 4.5.7 이상
-
해결 버전 있음
npm · @jupyter-notebook/help-extension
영향 받는 버전 · 해결 버전
- 영향 7.0.0 이상 7.5.6 미만 · 해결 7.5.6 이상
-
해결 버전 있음
PyPI · jupyterlab
영향 받는 버전 · 해결 버전
- 영향 4.5.7 미만 · 해결 4.5.7 이상
-
해결 버전 있음
PyPI · notebook
영향 받는 버전 · 해결 버전
- 영향 7.0.0 이상 7.5.6 미만 · 해결 7.5.6 이상
출처: GitHub Advisory Database · CC-BY 4.0