{"schemaVersion":3,"id":"CVE-2026-42557","aliases":["GHSA-mqcg-5x36-vfcg","BIT-jupyter-base-notebook-2026-42557","BIT-jupyter-notebook-2026-42557","BIT-jupyterlab-2026-42557","PYSEC-2026-2537","PYSEC-2026-2681","UBUNTU-CVE-2026-42557","DEBIAN-CVE-2026-42557","CGA-55vj-h32p-5574","CGA-h92j-vh83-w6q2","CGA-vhgr-9hqm-mmhm","CGA-x7mh-3p5g-5fr4"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-05-13T15:06:14.222Z","modified":"2026-08-28T12:04:30.875Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":7.2,"impact":10,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":7.2,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":7.2,"impact":10,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.6,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00715,"percentile":0.52871,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.344,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00371},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00715,"percentile":0.52871}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00715,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00715,"percentile":0.52871}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"datahub-ingestion-fips","name":"datahub-ingestion-fips","label":"datahub-ingestion-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/datahub-ingestion-fips","purlType":"apk","versions":[{"text":"< 1.5.0.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0.1-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/jupyterlab","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jupyterlab","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"jupyter","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.5.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.7","eol":null,"hubHref":"/vendor/jupyter/jupyterlab"},{"vendor":"jupyter","product":"notebook","name":"notebook","label":"notebook","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.5.6","eol":null,"hubHref":"/vendor/jupyter/notebook"},{"vendor":"jupyterlab","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.5.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.7","eol":null,"hubHref":"/vendor/jupyterlab/jupyterlab"},{"vendor":"PyPI","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyterlab","purlType":"pypi","versions":[{"text":"< 4.5.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.7","eol":null,"hubHref":null},{"vendor":"PyPI","product":"notebook","name":"notebook","label":"notebook","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/notebook","purlType":"pypi","versions":[{"text":"≥ 7.0.0, < 7.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.5.6","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg","label":"github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Advisory","Mitigation","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42557","label":"access.redhat.com/security/cve/CVE-2026-42557","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477086","label":"bugzilla.redhat.com/show_bug.cgi?id=2477086","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42557.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42557.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:43038","label":"access.redhat.com/errata/RHSA-2026:43038","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60520","label":"access.redhat.com/errata/RHSA-2026:60520","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42557","label":"nvd.nist.gov/vuln/detail/CVE-2026-42557","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jupyterlab/jupyterlab","label":"github.com/jupyterlab/jupyterlab","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://jupyterlab.readthedocs.io/en/latest/user/commands.html#commands-in-markdown-files","label":"jupyterlab.readthedocs.io/en/latest/user/commands.html","hostname":"jupyterlab.readthedocs.io","tags":["WEB"]},{"url":"https://pypi.org/project/jupyterlab","label":"pypi.org/project/jupyterlab","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-mqcg-5x36-vfcg","label":"github.com/advisories/GHSA-mqcg-5x36-vfcg","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/notebook","label":"pypi.org/project/notebook","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2026-42557","label":"ubuntu.com/security/CVE-2026-42557","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42557","label":"www.cve.org/CVERecord?id=CVE-2026-42557","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-42557","label":"security-tracker.debian.org/tracker/CVE-2026-42557","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42557.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42557.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10748-1","OPENSUSE-SU-2026:10749-1"],"duplicates":[],"related":["CGA-7WXR-FC9G-C6QC","OPENSUSE-SU-2026:10748-1","OPENSUSE-SU-2026:10749-1"]},"timeline":[{"kind":"published","date":"2026-05-13T15:06:14.222Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-28T12:04:30.875Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:14:20.839Z","stale":false,"partial":false}}