{"id":"CVE-2024-22415","aliases":["CVE-2024-22415","GHSA-4qhp-652w-c22x","PYSEC-2026-1478"],"related":[],"kind":"vulnerability","state":"published","title":"Unsecured endpoints in the jupyter-lsp server extension","summary":"jupyter-lsp is a coding assistance tool for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol. Installations of jupyter-lsp running in environments without configured file system access control (on the operating system level), and with jupyter-server instances exposed to non-trusted network are vulnerable to unauthorised access and modification of file system beyond the jupyter root directory. This issue has been patched in version 2.2.2 and all users are advised to upgrade. Users unable to upgrade should uninstall jupyter-lsp.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"jupyter-lsp is a coding assistance tool for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol. Installations of jupyter-lsp running in environments without configured file system access control (on the operating system level), and with jupyter-server instances exposed to non-trusted network are vulnerable to unauthorised access and modification of file system beyond the jupyter root directory. This issue has been patched in version 2.2.2 and all users are advised to upgrade. Users unable to upgrade should uninstall jupyter-lsp.","source":"cvelist"},{"lang":"en","text":"### Impact\nInstallations of jupyter-lsp running in environments without configured file system access control (on the operating system level), and with jupyter-server instances exposed to non-trusted network are vulnerable to unauthorised access and modification of file system beyond the jupyter root directory.\n\n### Patches\nVersion 2.2.2 has been patched.\n\n### Workarounds\nUsers of jupyterlab who do not use jupyterlab-lsp can uninstall jupyter-lsp.\n\n### Credits\nWe would like to credit Bary Levy, researcher of pillar.security research team, for the discovery and responsible disclosure of this vulnerability.\n\nEdit: based on advice from pillar.security the Confidentiality/Integrity/Availability were increased to High to reflect potential for critical impact on publicly hosted jupyter-server instances lacking isolation of user privileges on operating system level (for best practices please consult https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#protect-users-from-each-other) and CWE-94 was added due to a potential vulnerability chaining in specific environments.","format":"markdown","source":"ghsa"},{"lang":"es","text":"jupyter-lsp es una herramienta de asistencia de codificación para JupyterLab (navegación de código + sugerencias de desplazamiento + linters + autocompletado + cambio de nombre) que utiliza el protocolo de servidor de idiomas. Las instalaciones de jupyter-lsp que se ejecutan en entornos sin control de acceso al sistema de archivos configurado (en el nivel del sistema operativo) y con instancias de jupyter-server expuestas a una red no confiable son vulnerables al acceso no autorizado y a la modificación del sistema de archivos más allá del directorio raíz de jupyter. Este problema se solucionó en la versión 2.2.2 y se recomienda a todos los usuarios que actualicen. Los usuarios que no puedan actualizar deben desinstalar jupyter-lsp.","source":"nvd"}],"published":"2024-01-18T16:12:28.000Z","modified":"2026-09-10T03:50:04.789Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"}],"cwes":["CWE-22","CWE-23","CWE-284","CWE-306"],"affected":[{"ranges":[{"version":"< 2.2.2","status":"affected"}],"vendor":"jupyter-lsp","product":"jupyterlab-lsp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.2.2"}],"ecosystem":"PyPI","package":"jupyter-lsp","purl":"pkg:pypi/jupyter-lsp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.2.2"}],"vendor":"jupyter","product":"language_server_protocol_integration","cpe":"cpe:2.3:a:jupyter:language_server_protocol_integration:*:*:*:*:*:jupyter:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.2.2"}],"ecosystem":"PyPI","package":"jupyter-lsp","purl":"pkg:pypi/jupyter-lsp","source":"pysec"}],"references":[{"url":"https://github.com/jupyter-lsp/jupyterlab-lsp/security/advisories/GHSA-4qhp-652w-c22x","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyter-lsp/jupyterlab-lsp/commit/4ad12f204ad0b85580fc32137c647baaff044e95","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22415","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jupyter-lsp/jupyterlab-lsp","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jupyter-lsp/jupyterlab-lsp/releases/tag/v5.0.2","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/jupyter-lsp","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-4qhp-652w-c22x","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-10T20:42:53.589Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22415","url":"https://www.cve.org/CVERecord?id=CVE-2024-22415","licence":"CVE Terms of Use","modified":"2024-09-10T20:44:01.301Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4qhp-652w-c22x","url":"https://github.com/advisories/GHSA-4qhp-652w-c22x","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:04.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22415","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22415","licence":"Public domain","modified":"2026-06-17T07:11:21.953Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1478","url":"https://osv.dev/vulnerability/PYSEC-2026-1478","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:13.871Z"}],"updatedAt":"2026-11-25T22:58:36.217Z","epss":{"score":0.00491,"percentile":0.43827,"date":"2026-12-01T12:00:22.000Z"}}