{"id":"CVE-2026-23528","aliases":["CVE-2026-23528","GHSA-c336-7962-wfj2","PYSEC-2026-169"],"related":[],"kind":"vulnerability","state":"published","title":"Dask distributed Vulnerable to Remote Code Execution via Jupyter Proxy and Dashboard","summary":"Dask distributed is a distributed task scheduler for Dask. Prior to 2026.1.0, when Jupyter Lab, jupyter-server-proxy, and Dask distributed are all run together, it is possible to craft a URL which will result in code being executed by Jupyter due to a cross-side-scripting (XSS) bug in the Dask dashboard. It is possible for attackers to craft a phishing URL that assumes Jupyter Lab and Dask may be running on localhost and using default ports. If a user clicks on the malicious link it will open an error page in the Dask Dashboard via the Jupyter Lab proxy which will cause code to be executed by the default Jupyter Python kernel. This vulnerability is fixed in 2026.1.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Dask distributed is a distributed task scheduler for Dask. Prior to 2026.1.0, when Jupyter Lab, jupyter-server-proxy, and Dask distributed are all run together, it is possible to craft a URL which will result in code being executed by Jupyter due to a cross-side-scripting (XSS) bug in the Dask dashboard. It is possible for attackers to craft a phishing URL that assumes Jupyter Lab and Dask may be running on localhost and using default ports. If a user clicks on the malicious link it will open an error page in the Dask Dashboard via the Jupyter Lab proxy which will cause code to be executed by the default Jupyter Python kernel. This vulnerability is fixed in 2026.1.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nWhen [Jupyter Lab](https://jupyterlab.readthedocs.io/en/latest/), [jupyter-server-proxy](https://github.com/jupyterhub/jupyter-server-proxy) and [Dask distributed](https://github.com/dask/distributed) are all run together it is possible to craft a URL which will result in code being executed by Jupyter due to a cross-side-scripting (XSS) bug in the Dask dashboard.\n\nIt is possible for attackers to craft a phishing URL that assumes Jupyter Lab and Dask may be running on localhost and using default ports. If a user clicks on the malicious link it will open an error page in the Dask Dashboard via the Jupyter Lab proxy which will cause code to be executed by the default Jupyter Python kernel.\n\nIn order for a user to be impacted they must be running Jupyter Lab locally on the default port (with the [jupyter-server-proxy](https://github.com/jupyterhub/jupyter-server-proxy)) and a Dask distributed cluster on the default port. Then they would need to click the link which would execute the malicious code.\n\n### Patches\nThis has been fixed in the `2026.1.0` release. All users should upgrade to this version.\n\n### Mitigations\nThere are no known workarounds for this bug. The only complete solution is to upgrade to a newer release of Dask. However, there are a few things you could do to reduce your risk.\n\nIt is possible to avoid code execution via Jupyter by uninstalling the [jupyter-server-proxy](https://github.com/jupyterhub/jupyter-server-proxy) and accessing the Dask dashboard directly at it's URL. However, it is still possible for an attacker to craft a URL that executes JavaScript in the user's browser in the Dask dashboard. Which is still a moderate vulnerability. Therefore we recommend all users upgrade to the latest Dask release.\n\nAnother potential mitigation is to ensure both Jupyter and the Dask dashboard are running on non-standard ports. While this doesn't resolve the problem it reduces the chance of this being exploited. If an attacker knew which ports you were using they could still craft a malicious URL, but it would require a more targeted attack.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Dask distributed es un planificador de tareas distribuido para Dask. Antes de 2026.1.0, cuando Jupyter Lab, jupyter-server-proxy y Dask distributed se ejecutan todos juntos, es posible crear una URL que resultará en la ejecución de código por parte de Jupyter debido a un error de cross-site-scripting (XSS) en el panel de control de Dask. Es posible para los atacantes crear una URL de phishing que asume que Jupyter Lab y Dask pueden estar ejecutándose en localhost y usando puertos predeterminados. Si un usuario hace clic en el enlace malicioso, se abrirá una página de error en el panel de control de Dask a través del proxy de Jupyter Lab, lo que hará que se ejecute código por el kernel de Python predeterminado de Jupyter. Esta vulnerabilidad está corregida en 2026.1.0.","source":"nvd"}],"published":"2026-01-16T16:44:28.152Z","modified":"2026-09-10T03:50:58.974Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80","CWE-250"],"affected":[{"ranges":[{"version":"< 2026.1.0","status":"affected"}],"vendor":"dask","product":"distributed","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2026.1.0"}],"ecosystem":"PyPI","package":"distributed","purl":"pkg:pypi/distributed","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.1.0"}],"vendor":"anaconda","product":"dask","cpe":"cpe:2.3:a:anaconda:dask:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2026.1.0"}],"ecosystem":"PyPI","package":"distributed","purl":"pkg:pypi/distributed","source":"pysec"}],"references":[{"url":"https://github.com/dask/distributed/security/advisories/GHSA-c336-7962-wfj2","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/dask/distributed/commit/ab72092a8a938923c2bb51a2cd14ca26614827fa","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23528","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dask/distributed","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/distributed/PYSEC-2026-169.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-16T17:21:28.221Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23528","url":"https://www.cve.org/CVERecord?id=CVE-2026-23528","licence":"CVE Terms of Use","modified":"2026-01-16T17:21:36.324Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c336-7962-wfj2","url":"https://github.com/advisories/GHSA-c336-7962-wfj2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:58.974Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23528","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23528","licence":"Public domain","modified":"2026-06-17T10:21:43.960Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-169","url":"https://osv.dev/vulnerability/PYSEC-2026-169","licence":"CC-BY-4.0","modified":"2026-05-30T18:45:05.726Z"}],"updatedAt":"2026-11-25T22:59:12.889Z","epss":{"score":0.00235,"percentile":0.15506,"date":"2026-12-01T12:00:22.000Z"}}