Skip to main content
Public proof of conceptFix available

CVE-2023-24816

A public proof of concept exists; no exploitation attested.

  • Published2023-02-10
  • Fixed in8.10.0
  • WeaknessCWE-20 · CWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Versions prior to 8.1.0 are subject to a command injection vulnerability with very specific prerequisites. This vulnerability requires that the function `IPython.utils.terminal.set_term_title` be called on Windows in a Python environment where ctypes is not available. The dependency on `ctypes` in `IPython.utils._process_win32` prevents the vulnerable code from ever being reached in the ipython binary. However, as a library that could be used by another tool `set_term_title` could be called and hence introduce a vulnerability. Should an attacker get untrusted input to an instance of this function they would be able to inject shell commands as current process and limited to the scope of the current process. Users of ipython as a library are advised to upgrade. Users unable to upgrade should ensure that any calls to the `IPython.utils.terminal.set_term_title` function are done with trusted or filtered input.

Timeline

dates in UTC
  1. 2023-02-1020:15CVE publishedNVD

Versions per branch

NVD · OSV
Ipythonversion to verify
BranchAffectedFixed in
8.10< 8.10.08.10.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • ipython
    Affected
    • = < 8.10no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-02-10

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ipythonUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • ipythonUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • ipythonUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • ipythonUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • ipythonUbuntu:26.10all versions · no fixed version listed
  • ipythonUbuntu:26.04:LTSall versions · no fixed version listed
  • ipythonUbuntu:25.10all versions · no fixed version listed
  • ipythonUbuntu:24.04:LTSall versions · no fixed version listed

3 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Ipython to 8.10.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-03-10
  • CNACVSS 3.14.5known since 2026-10-23
  • NVDCVSS 3.17read 2026-10-23
  • CNAweakness (CWE)CWE-20, CWE-78known since 2026-10-23
  • NVDweakness (CWE)CWE-78read 2026-10-23
  • FIRST EPSSEPSS score1.3 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryLOW2023-02-10

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2023-02-10
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-29gw-9793-fvw7

Frequently asked questions

What is CVE-2023-24816?

IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Versions prior to 8.1.0 are subject to a command injection vulnerability with very specific prerequisites. This vulnerability requires that the function `IPython.utils.terminal.set_term_title` be called on Windows in a Python environment where ctypes is not available. The dependency on `ctypes` in `IPython.utils._process_win32` prevents the vulnerable code from ever being reached in the ipython binary. However, as a library that could be used by another tool `set_term_title` could be called and hence introduce a vulnerability. Should an attacker get untrusted input to an instance of this function they would be able to inject shell commands as current process and limited to the scope of the current process. Users of ipython as a library are advised to upgrade. Users unable to upgrade should ensure that any calls to the `IPython.utils.terminal.set_term_title` function are done with trusted or filtered input.

Is CVE-2023-24816 actively exploited?

A proof-of-concept exploit exists for CVE-2023-24816, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-24816?

CVE-2023-24816 has a CVSS v3 base score of 7 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running ipython? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record