Description
Inclusion of functionality from untrusted control sphere in Visual Studio Code - Python extension allows an unauthorized attacker to bypass a security feature locally.
Published: 2026-08-11
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from the extension incorporating functionality that is under an untrusted control sphere. An attacker with local access to a compromised or unauthorized user account can trigger the extension’s security feature bypass, potentially allowing unauthorized actions or elevated privileges within the local machine. The weakness is classified under CWE-693 and CWE-829, indicating reliance on untrusted data and improper handling of external control over configuration.

Affected Systems

Microsoft’s Visual Studio Code Python extension is affected. No specific version details are provided in the available data, so any release that includes the vulnerable extension should be considered at risk until an official fix is released.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability. EPSS information is not available, but the attack vector appears to be local, relying on an unauthorized local user. The vulnerability is not currently listed in CISA’s KEV catalog. Because the exploitation requires local presence, the risk is confined to compromised or malicious local accounts, but the potential impact is significant due to the privileged nature of the extension’s functionality.

Generated by OpenCVE AI on August 12, 2026 at 13:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Microsoft Visual Studio Code update that includes the patched Python extension.
  • If an update cannot be applied immediately, disable or uninstall the Python extension to block the exploitation path.
  • Keep monitoring Microsoft’s security advisories for any further updates or detailed rollback instructions.

Generated by OpenCVE AI on August 12, 2026 at 13:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft python
CPEs cpe:2.3:a:microsoft:python:-:*:*:*:*:visual_studio_code:*:*
Vendors & Products Microsoft python

Mon, 17 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:-:*:*

Tue, 11 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Description Inclusion of functionality from untrusted control sphere in Visual Studio Code - Python extension allows an unauthorized attacker to bypass a security feature locally.
Title Visual Studio Code Python Extension Security Feature Bypass Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-693
CWE-829
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:python:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}


Subscriptions

Microsoft Python Visual Studio Code
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-08-31T20:06:28.783Z

Reserved: 2026-06-16T14:10:05.868Z

Link: CVE-2026-54981

cve-icon Vulnrichment

Updated: 2026-08-11T19:19:55.768Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-11T17:18:03.780

Modified: 2026-08-22T00:16:34.053

Link: CVE-2026-54981

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T11:02:24Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere