CVE-2023-40170Jupyter Server
Medium 6.1 No auth needed
Follow: this CVE · Jupyter · Jupyter Server We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- Aug 28, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
jupyter-server is the backend for Jupyter web applications. Improper cross-site credential checks on `/files/` URLs could allow exposure of certain file contents, or accessing files when opening untrusted files via "Open image in new tab". This issue has been addressed in commit `87a49272728` which has been included in release `2.7.2`. Users are advised to upgrade. Users unable to upgrade may use the lower performance `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler`, which implements the correct checks.
What to do
- Apply the vendor's security update for Jupyter Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | jupyter-server |
< 2.7.2 |
2.7.2 |
pip install "jupyter-server>=2.7.2" |
| PyPI | jupyter-server |
< 2.7.2 |
2.7.2 |
pip install "jupyter-server>=2.7.2" |
Per OSV / GitHub Advisories (GHSA-64x5-55rw-9974, PYSEC-2023-157). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyter | jupyter_server | < 2.7.2 |
Official advisories
- python313-jupyter-server-2.20.0-1.3 on GA media · SUSE · openSUSE-SU-2026:12012-1 · Oct 4, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org