# Execution with Unnecessary Privileges in JupyterApp

Advisory record · `GHSA-m678-f26j-3hrp`

- **Identifiers:** `GHSA-m678-f26j-3hrp` · `CVE-2022-39286` · `PYSEC-2022-42974`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-250](https://cwe.mitre.org/data/definitions/250.html) · [CWE-269](https://cwe.mitre.org/data/definitions/269.html) · [CWE-427](https://cwe.mitre.org/data/definitions/427.html)
- **Tags:** [Privilege escalation](https://agentprime.io/advisories/tag/privilege-escalation.md) · [CWE-427](https://agentprime.io/advisories/tag/cwe-427.md)
- **Published:** 26 Oct 2022
- **Updated:** 15 Feb 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 26 Oct 2022, 22:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `jupyter-core` (PyPI): affected `<4.11.2`; fixed in `4.11.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.014, the 73rd percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 26 Oct 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-m678-f26j-3hrp](https://github.com/advisories/GHSA-m678-f26j-3hrp)
- [OSV: GHSA-m678-f26j-3hrp](https://osv.dev/vulnerability/GHSA-m678-f26j-3hrp)
- <https://github.com/jupyter/jupyter_core/security/advisories/GHSA-m678-f26j-3hrp>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39286>
- <https://github.com/jupyter/jupyter_core/commit/1118c8ce01800cb689d51f655f5ccef19516e283>
- <https://github.com/jupyter/jupyter_core>
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-core/PYSEC-2022-42974.yaml>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00022.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KKMP5OXXIX2QAUNVNJZ5UEQFKDYYJVBA>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YIDN7JMLK6AOMBQI4QPSW4MBQGWQ5NIN>
- <https://security.gentoo.org/glsa/202301-04>
- <https://www.debian.org/security/2023/dsa-5422>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m678-f26j-3hrp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m678-f26j-3hrp/>. Everything for agents: <https://agentprime.io/llms.txt>.
