Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
IPython versions below 5.11, from 6.0.0 before 7.16.3, from 7.17.0 before 7.31.1, and from 8.0.0 before 8.0.1 are affected. A local user can cause IPython to execute untrusted files in the current working directory, so one user can run code as another user who starts IPython there. Upgrade to 8.0.1, 7.31.1, 7.16.3 (for Python 3.6), or 5.11 (for older Python versions).
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.2 | High | 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0065, the 51st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:37 UTC First seen by agentprime
- 31 Oct 2026, 14:37 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-pq7m-3gw7-gq5x
- OSV: GHSA-pq7m-3gw7-gq5x
- github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x
- nvd.nist.gov/vuln/detail/CVE-2022-21699
- github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668
- github.com/ipython/ipython/commit/5fa1e409d2dc126c456510c16ece18e08b524e5b
- github.com/ipython/ipython/commit/67ca2b3aa9039438e6f80e3fccca556f26100b4d
- github.com/ipython/ipython/commit/a06ca837273271b4acb82c29be97c0b6d12a30ea
- github.com/ipython/ipython
- github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2022-12.yaml
- ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699
- lists.debian.org/debian-lts-announce/2022/01/msg00021.html
- lists.fedoraproject.org/archives/list/[email protected]/message/CRQRTWHYXMLDJ572VGVUZMUPEOTPM3KB
- lists.fedoraproject.org/archives/list/[email protected]/message/DZ7LVZBB4D7KVSFNEQUBEHFO3JW6D2ZK