BreachSpiderVerified, not vibes

CVE-2022-21699 in Debian Linux and 2 more products

High 8.8

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 vulnerab...

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.18.8
EPSS0.6%
EPSS percentile41th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0 10.0 11.0
Fedoraproject Fedora 34 35
Ipython Ipython ≤ 5.10.0 ≥ 6.0.0, < 7.16.3 ≥ 7.17.0, < 7.31.1 ≥ 8.0.0, < 8.0.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-21699
BreachSpider IDBS-2022-GLOBAL-071132-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2022-01-19
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-250: CWE-250

CWE-269: Improper Privilege Management

Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.

CWE-279: CWE-279

Related attack patterns (CAPEC)

CAPEC-58 Restful Privilege Elevation via CWE-269

CAPEC-81 Web Server Logs Tampering via CWE-279

CAPEC-470 Expanding Control over the Operating System from the Database via CWE-250

CAPEC-69 Target Programs with Elevated Privileges via CWE-250

CAPEC-104 Cross Zone Scripting via CWE-250

Show all 7

CAPEC-122 Privilege Abuse via CWE-269

CAPEC-233 Privilege Escalation via CWE-269

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

IPython versions prior to 8.0.1 are vulnerable to an arbitrary code execution vulnerability due to improper management of cross-user temporary files, allowing one user to execute code as another on the same machine.

An attacker can exploit this vulnerability by creating a malicious temporary file that is then executed by another user's IPython session, leading to arbitrary code execution with the privileges of the other user.

Questions

What is CVE-2022-21699?

IPython versions prior to 8.0.1 are vulnerable to an arbitrary code execution vulnerability due to improper management of cross-user temporary files, allowing one user to execute code as another on the same machine.

What is the CVSS score for CVE-2022-21699?

CVE-2022-21699 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.6%.

Is CVE-2022-21699 actively exploited?

No confirmed active exploitation of CVE-2022-21699 as of 2026-09-25.

How do I remediate CVE-2022-21699?

Priority: IMMEDIATE.

What systems are affected by CVE-2022-21699?

CVE-2022-21699 affects Debian Debian Linux; Fedoraproject Fedora; Ipython Ipython.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.