Description
Protection mechanism failure in Visual Studio allows an unauthorized attacker to execute code locally.
Published: 2026-07-14
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a protection mechanism failure in Microsoft Visual Studio that allows an unauthorized attacker to execute code locally. An attacker who can compromise a development machine or insert malicious content into a project can trigger the flaw and run arbitrary code with the permissions of the user. The scenario where an attacker can compromise a development machine or insert malicious content into a project to trigger the flaw is inferred from the description and not explicitly stated. The weakness is identified as CWE‑693, indicating that the software failed to enforce necessary security safeguards. The potential impact is that a local attacker could alter or delete project files, inject malware into builds, or take full control of the affected workstation.

Affected Systems

Affected installations include Microsoft Visual Studio 2022 versions 17.12 and 17.14, and Microsoft Visual Studio 2026 version 18.7. The problem exists across both the 2022 and 2026 product lines, meaning users of these specific releases are vulnerable until patched. No other versions were listed as affected, so workstations running newer releases are not known to be impacted. The patching solution or version that fixes the issue is not stated directly; users should consult the Microsoft advisory for the latest update.

Risk and Exploitability

The CVSS score is 7.8, reflecting a high severity. The EPSS score is under 1 %, indicating a very low probability of exploitation at the time of this analysis. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and no active exploits are reported. The likely attack vector appears to be local, but this is inferred from the description. It requires the attacker to have access to the development environment or to trick a developer into opening a malicious project. Because of this local nature and the low EPSS, the risk is considered high severity but low current likelihood, especially for organizations that enforce strict access controls and code signing.

Generated by OpenCVE AI on July 31, 2026 at 05:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Visual Studio to the latest available version that addresses the protection mechanism flaw
  • Restrict the use of untrusted or sandboxed content in project directories and enforce build rules that prevent execution of arbitrary code at build time
  • Limit modification rights to the Visual Studio installation directories so that only administrators can alter them

Generated by OpenCVE AI on July 31, 2026 at 05:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 14 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
Description Protection mechanism failure in Visual Studio allows an unauthorized attacker to execute code locally.
Title Visual Studio Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft visual Studio 2022
Microsoft visual Studio 2026
Weaknesses CWE-693
CPEs cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:visual_studio_2026:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio 2022
Microsoft visual Studio 2026
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 Visual Studio 2022 Visual Studio 2026
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-08-03T22:58:57.349Z

Reserved: 2026-05-18T23:53:33.898Z

Link: CVE-2026-47305

cve-icon Vulnrichment

Updated: 2026-07-15T11:15:13.102Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T05:45:03Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure