Alpine: multiple jupyter-notebook packages: security update to 7.5.6-r0

high Tenable Cloud Security Plugin ID 482938

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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. (CVE-2026-40171)

- 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. (CVE-2026-42557)

Solution

Update the jupyter-notebook library and its related packages to version 7.5.6-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-40171

https://security.alpinelinux.org/vuln/CVE-2026-42557

Plugin Details

Severity: High

ID: 482938

Version: Revision 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.19

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-42557

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.1

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 4/30/2026

Reference Information

CVE: CVE-2026-40171, CVE-2026-42557