Security Resilience

CVE-2024-49050

Microsoft Python ≤ 2024.18.2

Published
12 November 2024
Modified
15 July 2025
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.013 71th percentile
Risk Priority 71 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-49050 is a high-severity Trust Boundary Violation (CWE-501) vulnerability in Microsoft Python. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Impair Autonomous Defenses (T1685.007); ranked in the top 29% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and AC-16 (Security and Privacy Attributes) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-49050 is a remote code execution vulnerability affecting the Python extension for Visual Studio Code. It carries a CVSS 3.1 base score of 8.8 with a vector indicating network attack vector, low attack complexity, no required privileges, and required user interaction, resulting in high impact to confidentiality, integrity, and availability. The issue is also associated with CWE-501.

An attacker can exploit the flaw over the network without authentication to achieve remote code execution on an affected system when a user interacts with malicious content. The CVSS metrics confirm that successful exploitation grants full control over the impacted confidentiality, integrity, and availability properties.

The Microsoft Security Response Center advisory published at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-49050 addresses mitigation steps for the vulnerability.

EPSS for CVE-2024-49050 rose from a low baseline to a peak of 0.0548 on 2025-12-11 before receding to the current value of 0.0299, indicating that exploitation interest emerged after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Visual Studio Code Python Extension Remote Code Execution Vulnerability

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1685.007 Impair Autonomous Defenses Defense Impairment
Adversaries may use methods like [Indirect Prompt Injection](https://attack.
T1698 Indirect Prompt Injection Execution
Adversaries may deliver malicious prompts to an LLM indirectly by embedding the prompts in content that the adversary expects may be processed by an LLM.
T1699 Direct Prompt Injection Execution
Adversaries may input malicious prompts directly into an LLM’s user interface.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1700 AI-Enabled Exfiltration Exfiltration
Adversaries may utilize [Direct Prompt Injection](https://attack.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-49714Same product: Microsoft Python
CVE-2026-33828Same vendor: Microsoft
CVE-2023-28597Same vendor: Microsoft
CVE-2025-14542Shared CWE-501
CVE-2026-62146Shared CWE-501
CVE-2025-48938Shared CWE-501
CVE-2024-1725Shared CWE-501
CVE-2026-121665Shared CWE-501
CVE-2024-20265Shared CWE-501
CVE-2026-44091Shared CWE-501

Affected Assets

microsoft
python
≤ 2024.18.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Information flow enforcement directly stops trusted and untrusted data from being combined by applying rules that govern allowable data movements and combinations.

Associating explicit security attributes with data objects enables enforcement mechanisms that keep trust levels from being mixed inside structures.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure-development practices (coding standards, reviews, validation) directly prevent mixing trusted and untrusted data inside the same structures.

ID.AM-03 partial match
blocks

Documented data-flow representations make trust boundaries explicit and help surface mixing of trusted/untrusted data.

PR.IR-01 partial match
blocks

Logical segmentation and access controls enforce separation between trust domains, reducing the chance of co-mingled data structures.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's SOURCE+RUNTIME programme reaches most CWE-501 instances: code review and static analysis detect the common pattern of untrusted input stored in trusted contexts (as in the demonstrative examples), and penetration testing surfaces instances that lead to exploitable bypass. The remainder is design-level trust-boundary blurring that does not manifest as a specific code pattern or externally observable flaw, which the testing programme cannot mechanically reach.

prevents

Secure coding standards can enforce input validation and data tagging, but do not guarantee architectural separation.

prevents

A.8.30 carries its effect through the secure design and coding practices (8.25-8.29) its contract requires of the supplier, which reduce ordinary software weaknesses including trust boundary violations in delivered code; the clause has a declared ceiling of `partial` on this verb, and trust boundary violations are a design-level weakness that secure development practices address but do not eliminate.

References