{"id":"CVE-2025-30167","aliases":["CVE-2025-30167","GHSA-33p9-3p43-82vq","PYSEC-2026-1477"],"related":[],"kind":"vulnerability","state":"published","title":"Jupyter Core on Windows Has Uncontrolled Search Path Element Local Privilege Escalation Vulnerability","summary":"Jupyter Core is a package for the core common functionality of Jupyter projects. When using Jupyter Core prior to version 5.8.0 on Windows, the shared `%PROGRAMDATA%` directory is searched for configuration files (`SYSTEM_CONFIG_PATH` and `SYSTEM_JUPYTER_PATH`), which may allow users to create configuration files affecting other users. Only shared Windows systems with multiple users and unprotected `%PROGRAMDATA%` are affected. Users should upgrade to Jupyter Core version 5.8.0 or later to receive a patch. Some other mitigations are available. As administrator, modify the permissions on the `%PROGRAMDATA%` directory so it is not writable by unauthorized users; or as administrator, create the `%PROGRAMDATA%\\jupyter` directory with appropriately restrictive permissions; or as user or administrator, set the `%PROGRAMDATA%` environment variable to a directory with appropriately restrictive permissions (e.g. controlled by administrators _or_ the current user).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jupyter Core is a package for the core common functionality of Jupyter projects. When using Jupyter Core prior to version 5.8.0 on Windows, the shared `%PROGRAMDATA%` directory is searched for configuration files (`SYSTEM_CONFIG_PATH` and `SYSTEM_JUPYTER_PATH`), which may allow users to create configuration files affecting other users. Only shared Windows systems with multiple users and unprotected `%PROGRAMDATA%` are affected. Users should upgrade to Jupyter Core version 5.8.0 or later to receive a patch. Some other mitigations are available. As administrator, modify the permissions on the `%PROGRAMDATA%` directory so it is not writable by unauthorized users; or as administrator, create the `%PROGRAMDATA%\\jupyter` directory with appropriately restrictive permissions; or as user or administrator, set the `%PROGRAMDATA%` environment variable to a directory with appropriately restrictive permissions (e.g. controlled by administrators _or_ the current user).","source":"cvelist"},{"lang":"en","text":"## Impact\n\nOn Windows, the shared `%PROGRAMDATA%` directory is searched for configuration files (`SYSTEM_CONFIG_PATH` and `SYSTEM_JUPYTER_PATH`), which may allow users to create configuration files affecting other users.\n\nOnly shared Windows systems with multiple users and unprotected `%PROGRAMDATA%` are affected.\n\n## Mitigations\n\n- upgrade to `jupyter_core>=5.8.1` (5.8.0 is patched but breaks `jupyter-server`) , or\n- as administrator, modify the permissions on the `%PROGRAMDATA%` directory so it is not writable by unauthorized users, or\n- as administrator, create the `%PROGRAMDATA%\\jupyter` directory with appropriately restrictive permissions, or\n- as user or administrator, set the `%PROGRAMDATA%` environment variable to a directory with appropriately restrictive permissions (e.g. controlled by administrators _or_ the current user)\n\n## Credit\n\nReported via Trend Micro Zero Day Initiative as ZDI-CAN-25932","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jupyter Core es un paquete para la funcionalidad principal común de los proyectos de Jupyter. Al usar Jupyter Core antes de la versión 5.8.0 en Windows, se buscan archivos de configuración (`SYSTEM_CONFIG_PATH` y `SYSTEM_JUPYTER_PATH`) en el directorio compartido `%PROGRAMDATA%`, lo que puede permitir que los usuarios creen archivos de configuración que afecten a otros usuarios. Solo se ven afectados los sistemas Windows compartidos con varios usuarios y `%PROGRAMDATA%` sin protección. Los usuarios deben actualizar a Jupyter Core versión 5.8.0 o posterior para recibir un parche. Hay otras mitigaciones disponibles. Como administrador, modifique los permisos del directorio `%PROGRAMDATA%` para que usuarios no autorizados no puedan escribir en él; o como administrador, cree el directorio `%PROGRAMDATA%\\jupyter` con los permisos restrictivos adecuados. o como usuario o administrador, configure la variable de entorno `%PROGRAMDATA%` en un directorio con permisos restrictivos apropiados (por ejemplo, controlado por administradores _o_ el usuario actual).","source":"nvd"}],"published":"2025-06-03T16:42:16.357Z","modified":"2026-09-10T03:50:24.754Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-427"],"affected":[{"ranges":[{"version":"< 5.8.0","status":"affected"}],"vendor":"jupyter","product":"jupyter_core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.8.1"}],"ecosystem":"PyPI","package":"jupyter-core","purl":"pkg:pypi/jupyter-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.8.0"}],"vendor":"jupyter","product":"jupyter_core","cpe":"cpe:2.3:a:jupyter:jupyter_core:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.8.1"}],"ecosystem":"PyPI","package":"jupyter-core","purl":"pkg:pypi/jupyter-core","source":"pysec"}],"references":[{"url":"https://github.com/jupyter/jupyter_core/security/advisories/GHSA-33p9-3p43-82vq","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyter/jupyter_core/commit/5e8965600adda6b416692ce7e85ecb2bd814bd52","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30167","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jupyter/jupyter_core","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/jupyter-core","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-33p9-3p43-82vq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-06-03T17:34:39.597Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-30167","url":"https://www.cve.org/CVERecord?id=CVE-2025-30167","licence":"CVE Terms of Use","modified":"2026-01-23T16:31:03.690Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-33p9-3p43-82vq","url":"https://github.com/advisories/GHSA-33p9-3p43-82vq","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:24.754Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-30167","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30167","licence":"Public domain","modified":"2026-06-17T09:08:17.083Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1477","url":"https://osv.dev/vulnerability/PYSEC-2026-1477","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:46.038Z"}],"updatedAt":"2026-11-25T22:58:58.701Z","epss":{"score":0.0027,"percentile":0.11995,"date":"2026-11-30T12:00:22.000Z"}}