Alpine: multiple jupyter-server packages: security update to 2.18.2-r0

high Tenable Cloud Security Plugin ID 482939

Description

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

- Jupyter Server is the backend for Jupyter web applications. In jupyter_server versions through 2.17.0, the
next query parameter in the login flow is insufficiently validated in `LoginFormHandler._redirect_safe()`,
which allows redirects to arbitrary external domains via values such as `///example.com`. An attacker can
use a crafted login URL to redirect users to a malicious site and facilitate phishing attacks. This issue
is fixed in version 2.18.0. (CVE-2025-61669)

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

- Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the Origin
header validation uses Python's re.match() to check incoming origins against the allow_origin_pat
configuration value. Because re.match() only anchors at the start of the string and does not require a
full match, a pattern intended to match only a trusted domain (e.g., trusted.example.com) will also match
any origin that begins with that domain followed by additional characters (e.g.,
trusted.example.com.evil.com). An attacker who controls such a domain can bypass the CORS origin
restriction and make cross-origin requests to the Jupyter Server API from an untrusted site. This issue
has been fixed in version 2.18.0. (CVE-2026-40110)

- Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the secret
used to sign authentication cookies is persisted to a static file at
~/.local/share/jupyter/runtime/jupyter_cookie_secret and is never rotated when a user changes their
password. After a password reset and server restart, any previously issued authentication cookie remains
cryptographically valid because the signing key has not changed. An attacker who has captured a session
cookie through any means retains full authenticated access to the server regardless of subsequent password
changes. This affects deployments using password-based authentication, particularly shared or public-
facing servers where credential rotation is expected to revoke existing sessions. This issue has been
fixed in version 2.18.0. (CVE-2026-40934)

Solution

Update the jupyter-server library and its related packages to version 2.18.2-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2025-61669

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

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

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

Plugin Details

Severity: High

ID: 482939

Version: Revision 1.2

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2026-35397

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 7.6

Threat Score: 6.7

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-40934

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 5/5/2026

Reference Information

CVE: CVE-2025-61669, CVE-2026-35397, CVE-2026-40110, CVE-2026-40934