Live threats

All CVEs / Ipython

CVE-2022-21699Ipython

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
Yes
Published
Jan 19, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-250, CWE-279, CWE-269
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ipython.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ipython < 5.11 5.11 pip install "ipython>=5.11"
PyPI ipython ≥ 6.0.0 < 7.16.3 7.16.3 pip install "ipython>=7.16.3"
PyPI ipython ≥ 7.17.0 < 7.31.1 7.31.1 pip install "ipython>=7.31.1"
PyPI ipython ≥ 8.0.0 < 8.0.1 8.0.1 pip install "ipython>=8.0.1"
PyPI ipython < 6.0.0rc1 6.0.0rc1 pip install "ipython>=6.0.0rc1"
PyPI ipython ≥ 6.0.0 < 7.16.3 7.16.3 pip install "ipython>=7.16.3"
PyPI ipython ≥ 7.17.0 < 7.31.1 7.31.1 pip install "ipython>=7.31.1"
PyPI ipython ≥ 8.0.0 < 8.0.1 8.0.1 pip install "ipython>=8.0.1"

Per OSV / GitHub Advisories (GHSA-pq7m-3gw7-gq5x, PYSEC-2022-12). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ipythonipython≤ 5.10.0
ipythonipython≥ 6.0.0 < 7.16.3
ipythonipython≥ 7.17.0 < 7.31.1
ipythonipython≥ 8.0.0 < 8.0.1
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.