jupyter-server — security advisory
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.
- Products
- jupyter-server
- Affected versions
- 1.13.1-1, 1.2.2-1, 1.23.3-1, 1.23.3-2, 2.14.2-5, 2.15.0-1, 2.17.0-1, 2.20.0-3
- Fixed versions
- Not specified
- CVEs
- CVE-2023-40170
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:04 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2023-40170
jupyter-server
Fixed versions: Not specified
jupyter-server
Fixed versions: Not specified
jupyter-server
Fixed versions: Not specified
jupyter-server
Fixed versions: Not specified
jupyter-server
Fixed versions: Not specified
Complete source record
{
"id": "c0d6c4f1947de79ee4e8074b51032b703987eeb61a4eadb2418485e78b16a37f",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-40170",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-40170",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2023-40170",
"products": [
{
"name": {
"value": "jupyter-server",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.13.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "jupyter-server",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.23.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.23.3-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "jupyter-server",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.14.2-5",
"evidence": "/affected/2/versions"
},
{
"value": "2.15.0-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "jupyter-server",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.17.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.20.0-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "jupyter-server",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.17.0-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2023-40170",
"aliases": [
"UBUNTU-CVE-2023-40170"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyter-server",
"purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.2.2-1",
"1.13.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyter-server",
"binary_version": "1.13.1-1"
},
{
"binary_name": "python3-jupyter-server",
"binary_version": "1.13.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyter-server",
"purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.23.3-1",
"1.23.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyter-server",
"binary_version": "1.23.3-2"
},
{
"binary_name": "python3-jupyter-server",
"binary_version": "1.23.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyter-server",
"purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.14.2-5",
"2.15.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyter-server",
"binary_version": "2.15.0-1"
},
{
"binary_name": "python3-jupyter-server",
"binary_version": "2.15.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyter-server",
"purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.17.0-1",
"2.20.0-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyter-server",
"binary_version": "2.20.0-3"
},
{
"binary_name": "python3-jupyter-server",
"binary_version": "2.20.0-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyter-server",
"purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.15.0-1",
"2.17.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40170.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyter-server",
"binary_version": "2.17.0-1"
},
{
"binary_name": "python3-jupyter-server",
"binary_version": "2.17.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:25.665551077Z",
"provider": "osv",
"upstream": [
"CVE-2023-40170"
],
"references": [
"https://ubuntu.com/security/CVE-2023-40170",
"https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974",
"https://github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd",
"https://www.cve.org/CVERecord?id=CVE-2023-40170"
]
},
"related_cves": [
{
"value": "CVE-2023-40170",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 355621,
"published_at": "2023-08-28T21:15:00+00:00"
}