jupyterlab — security advisory
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.
- Products
- jupyterlab
- Affected versions
- 4.0.11+ds1+~cs11.25.27-5, 4.0.11+ds1+~cs11.25.27-6, 4.0.11+ds1+~cs11.25.27-7, 4.0.11+ds1+~cs11.25.27-8, 4.0.11+ds1+~cs11.25.27-9, 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3, 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-42557
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:03 UTC · Revision 1
Source evidence
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.
osv:UBUNTU-CVE-2026-42557
jupyterlab
Fixed versions: Not specified
jupyterlab
Fixed versions: Not specified
jupyterlab
Fixed versions: Not specified
Complete source record
{
"id": "867c3254226e48d01aca4fd1d2cb4a51380c8f73ba4086d80d0b42e494219a79",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-42557",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-42557",
"summary": "jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.",
"evidence": "osv:UBUNTU-CVE-2026-42557",
"products": [
{
"name": {
"value": "jupyterlab",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.11+ds1+~cs11.25.27-5",
"evidence": "/affected/0/versions"
},
{
"value": "4.0.11+ds1+~cs11.25.27-6",
"evidence": "/affected/0/versions"
},
{
"value": "4.0.11+ds1+~cs11.25.27-7",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "jupyterlab",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.11+ds1+~cs11.25.27-9",
"evidence": "/affected/1/versions"
},
{
"value": "4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3",
"evidence": "/affected/1/versions"
},
{
"value": "4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "jupyterlab",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.11+ds1+~cs11.25.27-7",
"evidence": "/affected/2/versions"
},
{
"value": "4.0.11+ds1+~cs11.25.27-8",
"evidence": "/affected/2/versions"
},
{
"value": "4.0.11+ds1+~cs11.25.27-9",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-42557",
"aliases": [
"UBUNTU-CVE-2026-42557"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyterlab",
"purl": "pkg:deb/ubuntu/jupyterlab?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"4.0.11+ds1+~cs11.25.27-5",
"4.0.11+ds1+~cs11.25.27-6",
"4.0.11+ds1+~cs11.25.27-7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42557.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyterlab",
"binary_version": "4.0.11+ds1+~cs11.25.27-7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyterlab",
"purl": "pkg:deb/ubuntu/jupyterlab?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.0.11+ds1+~cs11.25.27-9",
"4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3",
"4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42557.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyterlab",
"binary_version": "4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jupyterlab",
"purl": "pkg:deb/ubuntu/jupyterlab?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.0.11+ds1+~cs11.25.27-7",
"4.0.11+ds1+~cs11.25.27-8",
"4.0.11+ds1+~cs11.25.27-9"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42557.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jupyterlab",
"binary_version": "4.0.11+ds1+~cs11.25.27-9"
}
]
}
}
],
"modified": "2026-10-17T13:00:05.594899186Z",
"provider": "osv",
"upstream": [
"CVE-2026-42557"
],
"references": [
"https://ubuntu.com/security/CVE-2026-42557",
"https://www.cve.org/CVERecord?id=CVE-2026-42557",
"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg"
]
},
"related_cves": [
{
"value": "CVE-2026-42557",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/2/score"
},
"source_id": "core-osv",
"document_id": 360311,
"published_at": "2026-05-13T16:16:00+00:00"
}