# CVE-2022-21699: Execution with Unnecessary Privileges in ipython

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-01-19 · Modified: 2025-04-22
- Aliases: MGASA-2023-0058, openSUSE-SU-2022:10043-1, GHSA-pq7m-3gw7-gq5x, PYSEC-2022-12, UBUNTU-CVE-2022-21699, DEBIAN-CVE-2022-21699, DLA-2896-1, DSA-5065-1, CGA-xfv4-7wpg-874r, openSUSE-SU-2025:14718-1, ALPINE-CVE-2022-21699
- Record: https://cvemate.com/vulnerability/CVE-2022-21699 · JSON: https://cvemate.com/vulnerability/CVE-2022-21699/json

## Description

```text
IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Affected versions are subject to an arbitrary code execution vulnerability achieved by not properly managing cross user temporary files. This vulnerability allows one user to run code as another on the same machine. All users are advised to upgrade.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.69%, percentile 54.191%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine ipython (Alpine Linux): ≥ 6.0.0, \< 7.31.1-r0 \| ≥ 7.17.0, \< 7.31.1-r0
- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.4.0-r0
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.4.0-r0
- debian ipython (Debian): \< 5.1.0-3+deb9u1 \| \< 5.8.0-1+deb10u1 \| \< 7.20.0-1+deb11u1 \| \< 7.31.1-1
- ubuntu ipython (Ubuntu): All versions (No fix recorded) \| \< 5.5.0-1ubuntu0.1~esm1 \| \< 7.13.0-1ubuntu0.1~esm1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 34 \| 35
- ipython ipython: \< 5.11 \| ≤ 5.10.0 \| ≥ 6.0.0, \< 7.16.3 \| ≥ 7.17.0, \< 7.31.1 \| ≥ 8.0.0, \< 8.0.1
- mageia ipython (Mageia): \< 7.31.1-1.mga8
- PyPI ipython (PyPI): \< 5.11 \| ≥ 6.0.0, \< 7.16.3 \| ≥ 7.17.0, \< 7.31.1 \| \< 46a51ed69cdf41b4333943d9ceeb945c4ede5668 \| ≥ 8.0.0, \< 8.0.1
- opensuse python-ipython-test&distro=openSUSE Leap 15.3 (openSUSE): \< 7.13.0-bp153.2.6.6
- opensuse python-ipython&distro=openSUSE Leap 15.3 (openSUSE): \< 7.13.0-bp153.2.6.1
- opensuse python-ipython&distro=openSUSE Tumbleweed (openSUSE): \< 8.31.0-1.1
- suse python-ipython-test&distro=SUSE Package Hub 15 SP3 (SUSE Linux Enterprise): \< 7.13.0-bp153.2.6.6
- suse python-ipython&distro=SUSE Package Hub 15 SP3 (SUSE Linux Enterprise): \< 7.13.0-bp153.2.6.1

## References (first 20 of 30)

- <https://github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x>
- <https://github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668>
- <https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699>
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00021.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CRQRTWHYXMLDJ572VGVUZMUPEOTPM3KB/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DZ7LVZBB4D7KVSFNEQUBEHFO3JW6D2ZK/>
- <https://advisories.mageia.org/MGASA-2023-0058.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29969>
- <https://www.debian.org/lts/security/2022/dla-2896>
- <https://www.debian.org/security/2022/dsa-5065>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/DZ7LVZBB4D7KVSFNEQUBEHFO3JW6D2ZK/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/CRQRTWHYXMLDJ572VGVUZMUPEOTPM3KB/>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NTGOGG2ZEI7KLN4MVBRDQQ4FSIXPEKNL/>
- <https://bugzilla.suse.com/1194936>
- <https://www.suse.com/security/cve/CVE-2022-21699>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21699>
- <https://github.com/ipython/ipython/commit/5fa1e409d2dc126c456510c16ece18e08b524e5b>
- <https://github.com/ipython/ipython/commit/67ca2b3aa9039438e6f80e3fccca556f26100b4d>
- <https://github.com/ipython/ipython/commit/a06ca837273271b4acb82c29be97c0b6d12a30ea>
- <https://github.com/ipython/ipython>

---

Data as of 2026-12-05T10:24:26.639Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
