SCA: security update for jupyter-server (GHSA-gf7q-q4j7-hp7c)

high Tenable Self-Hosted Container Security Plugin ID 445578

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A path traversal vulnerability exists in jupyter-server version 2.17.0 due to an incorrect root directory
boundary check in the _get_os_path() function within jupyter_server/services/contents/fileio.py. The check
uses startswith(root) without appending a trailing path separator, allowing sibling directories with names
starting with the same prefix as root_dir to bypass the check. Additionally, the to_os_path() function in
utils.py does not strip ".." from path parts, enabling traversal sequences to bypass the vulnerable check.
This vulnerability can lead to unauthorized read/write access to files in sibling directories, potentially
exposing sensitive data in shared hosting environments. (CVE-2026-5422)

Solution

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

See Also

https://github.com/advisories/GHSA-gf7q-q4j7-hp7c

Plugin Details

Severity: High

ID: 445578

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/1/2026

Updated: 8/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.62

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-5422

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/2/2026

Vulnerability Publication Date: 6/2/2026

Reference Information

CVE: CVE-2026-5422

cwe: CWE-23