CVE-2026-42557
EPSS 0.10%jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content
描述
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.
受影響套件(6)
- Bitnami/jupyter-base-notebook>= 7.0.0, < 7.5.6
- Bitnami/jupyterlabfrom 0, < 4.5.7
- Bitnami/jupyter-notebook>= 7.0.0, < 7.5.6
- Debian/jupyterlabfrom 0
- PyPI/jupyterlabfrom 0, < 4.5.7
- PyPI/notebook>= 7.0.0, < 7.5.6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-42557
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-42557
- PATCHhttps://github.com/jupyterlab/jupyterlab
- WEBhttps://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg
- WEBhttps://jupyterlab.readthedocs.io/en/latest/user/commands.html#commands-in-markdown-files