CVE-2022-29241Known or guessable hidden files may be accessed in Jupyter Server
Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter Notebook. Prior to version 1.17.1, if notebook server is started with a value of `root_dir` that contains the starting user's home directory, then the underlying REST API can be used to leak the access token assigned at start time by guessing/brute forcing the PID of the jupyter server. While this requires an authenticated user session, this URL can be used from a cross-site scripting payload or from a hooked or otherwise compromised browser to leak this access token to a malicious third party. This token can be used along with the REST API to interact with Jupyter services/notebooks such as modifying or overwriting critical files, such as .bashrc or .ssh/authorized_keys, allowing a malicious user to read potentially sensitive data and possibly gain control of the impacted system. This issue is patched in version 1.17.1.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jupyter-server | Fix pending | UBUNTU-CVE-2022-29241 | |
| Ubuntu 26.04 | jupyter-server | Under investigation | UBUNTU-CVE-2022-29241 | |
| Ubuntu 25.10 | jupyter-server | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-29241 | |
| Ubuntu 24.04 | jupyter-server | Under investigation | UBUNTU-CVE-2022-29241 | |
| Ubuntu 22.04 | jupyter-server | Under investigation | UBUNTU-CVE-2022-29241 | |
| Debian 14 | jupyter-server | Fixed | 1.17.1-1 | DEBIAN-CVE-2022-29241 |
| Debian 13 | jupyter-server | Fixed | 1.17.1-1 | DEBIAN-CVE-2022-29241 |
| Debian 12 | jupyter-server | Fixed | 1.17.1-1 | DEBIAN-CVE-2022-29241 |
| PyPI library | jupyter-server | Fixed | 2.0.0a1 | PYSEC-2022-211 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jupyter-server jupyter_server: affected: < 1.17.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.