{"id":"CVE-2022-39286","aliases":["CVE-2022-39286","GHSA-m678-f26j-3hrp","PYSEC-2022-42974"],"related":[],"kind":"vulnerability","state":"published","title":"Execution with Unnecessary Privileges in JupyterApp","summary":"Jupyter Core is a package for the core common functionality of Jupyter projects. Jupyter Core prior to version 4.11.2 contains an arbitrary code execution vulnerability in `jupyter_core` that stems from `jupyter_core` executing untrusted files in CWD. This vulnerability allows one user to run code as another. Version 4.11.2 contains a patch for this issue. There are no known workarounds.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jupyter Core is a package for the core common functionality of Jupyter projects. Jupyter Core prior to version 4.11.2 contains an arbitrary code execution vulnerability in `jupyter_core` that stems from `jupyter_core` executing untrusted files in CWD. This vulnerability allows one user to run code as another. Version 4.11.2 contains a patch for this issue. There are no known workarounds.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nWe’d like to disclose an arbitrary code execution vulnerability in `jupyter_core` that stems from `jupyter_core` executing untrusted files in the current working directory. This vulnerability allows one user to run code as another.\n\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nUsers should upgrade to `jupyter_core>=4.11.2`.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nNo\n\n### References\n_Are there any links users can visit to find out more?_\nSimilar advisory in [IPython](https://github.com/advisories/GHSA-pq7m-3gw7-gq5x)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jupyter Core es un paquete para la funcionalidad común del núcleo de los proyectos Jupyter. Jupyter Core versiones anteriores a 4.11.2, contiene una vulnerabilidad de ejecución de código arbitrario en \"jupyter_core\" que proviene de que \"jupyter_core\" ejecuta archivos no confiables en CWD. Esta vulnerabilidad permite a un usuario ejecutar código como otro. La versión 4.11.2 contiene un parche para este problema. No se presentan mitigaciones conocidas","source":"nvd"}],"published":"2022-10-26T00:00:00.000Z","modified":"2026-06-17T04:58:04.397Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-250","CWE-269","CWE-427"],"affected":[{"ranges":[{"version":"< 4.11.2","status":"affected"}],"vendor":"jupyter","product":"jupyter_core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.2"}],"ecosystem":"PyPI","package":"jupyter-core","purl":"pkg:pypi/jupyter-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.11.2"}],"vendor":"jupyter","product":"jupyter_core","cpe":"cpe:2.3:a:jupyter:jupyter_core:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"36"},{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1118c8ce01800cb689d51f655f5ccef19516e283"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.2"}],"ecosystem":"PyPI","package":"jupyter-core","purl":"pkg:pypi/jupyter-core","repo":"https://github.com/jupyter/jupyter_core","source":"pysec"}],"references":[{"url":"https://github.com/jupyter/jupyter_core/security/advisories/GHSA-m678-f26j-3hrp","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyter/jupyter_core/commit/1118c8ce01800cb689d51f655f5ccef19516e283","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00022.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.gentoo.org/glsa/202301-04","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YIDN7JMLK6AOMBQI4QPSW4MBQGWQ5NIN/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KKMP5OXXIX2QAUNVNJZ5UEQFKDYYJVBA/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5422","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39286","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jupyter/jupyter_core","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-core/PYSEC-2022-42974.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KKMP5OXXIX2QAUNVNJZ5UEQFKDYYJVBA","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YIDN7JMLK6AOMBQI4QPSW4MBQGWQ5NIN","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:47:29.874Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39286","url":"https://www.cve.org/CVERecord?id=CVE-2022-39286","licence":"CVE Terms of Use","modified":"2025-04-23T16:43:15.864Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m678-f26j-3hrp","url":"https://github.com/advisories/GHSA-m678-f26j-3hrp","licence":"CC-BY-4.0","modified":"2025-02-15T05:26:48.871Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39286","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39286","licence":"Public domain","modified":"2026-06-17T04:58:04.397Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-42974","url":"https://osv.dev/vulnerability/PYSEC-2022-42974","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:17.712Z"}],"updatedAt":"2026-11-25T22:58:16.028Z","epss":{"score":0.01459,"percentile":0.74342,"date":"2026-12-02T12:00:21.000Z"}}