CVE-2023-40170
MEDIUM 6.1CVSS 3.1cross-site inclusion (XSSI) of files in jupyter-server
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.
- Published
- 28 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-284CWE-306CWE-79
- Also known as
- GHSA-64x5-55rw-9974PYSEC-2023-157
- Sources
- NVDJSONOSV GHSA-64x5-55rw-9974JSONOSV PYSEC-2023-157JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | jupyter_servercpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:* |
< 2.7.2 | 2.7.2 |
| OSV | PyPI | jupyter-server | < 2.7.2 | 2.7.2 |
References
- https://github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd · Patch, WEB, FIX
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974 · Vendor Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NRP7DNZYVOIA4ZB3U3ZWKTFZEPYWNGCQ/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XDKQAWQN6SQTOVACZNXYKEHWQXGG4DOF/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40170 · ADVISORY
- https://github.com/jupyter-server/jupyter_server · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2023-157.yaml · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 28 Aug 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 Aug 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Aug 2023)