CVE-2023-40170: jupyter-server jupyter_server Improper Access Control
Vulnerability summary
CVE-2023-40170 is a medium (CVSS 6.1) Improper Access Control vulnerability in jupyter-server jupyter_server. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 48.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 28-08-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.62% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-284Improper Access ControlThe product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
- CWE-306Missing Authentication for Critical FunctionThe product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected systems
Chainguard1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
Debian1 product
- jupyter-serverAll versions (No fix recorded) | < 2.14.2-1
Jupyter1 product
- jupyter_server< 2.7.2
Jupyter-server1 product
- jupyter_server< 2.7.2
PyPI1 product
- jupyter-server< 87a4927272819f0b1cae1afa4c8c86ee2da002fd | < 2.7.2
Ubuntu1 product
- jupyter-serverAll versions (No fix recorded)
Wolfi1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
7 vendors · 7 products
References
13 links- github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974X Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fdX Refsource MISCWEBFIXREPORTPatch