Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-36758

CVE-2023-36758: Visual Studio 2022 Privilege Escalation

CVE-2023-36758 is a privilege escalation vulnerability in Microsoft Visual Studio 2022 that allows attackers to gain elevated privileges. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-36758 Overview

CVE-2023-36758 is a critical elevation of privilege vulnerability affecting Microsoft Visual Studio 2022. This vulnerability allows attackers to gain elevated privileges on affected systems through improper link resolution before file access, commonly known as a symlink attack. The vulnerability has been assigned CWE-59 (Improper Link Resolution Before File Access), indicating that the application follows symbolic links without properly validating the target, potentially allowing unauthorized access to protected resources.

Critical Impact

Successful exploitation of this vulnerability could allow an attacker to gain elevated privileges on the affected system, potentially leading to complete system compromise with high impact on confidentiality, integrity, and availability.

Affected Products

  • Microsoft Visual Studio 2022

Discovery Timeline

  • 2023-09-12 - CVE-2023-36758 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-36758

Vulnerability Analysis

This elevation of privilege vulnerability in Microsoft Visual Studio 2022 stems from improper handling of symbolic links (symlinks) during file operations. The vulnerability can be exploited remotely without requiring user interaction or prior authentication, making it particularly dangerous in networked environments.

The underlying issue involves the application following symbolic links without adequately verifying whether the link target is within an expected scope or has appropriate permissions. This allows attackers to manipulate file system operations to access or modify files with elevated privileges.

Root Cause

The root cause of CVE-2023-36758 is classified under CWE-59 (Improper Link Resolution Before File Access). This weakness occurs when software follows a symbolic link to access a file, but does not properly ensure that the link is not pointing to a location that would normally be inaccessible. In the context of Visual Studio 2022, this improper link resolution can be exploited to perform privileged operations on files that the attacker should not have access to.

The vulnerability exists because the application performs file operations based on user-controllable paths without sufficiently validating whether symbolic links might redirect those operations to sensitive system locations or files owned by higher-privileged users.

Attack Vector

The attack vector for this vulnerability is network-based, requiring low complexity to exploit. An attacker does not need any privileges or user interaction to successfully exploit this vulnerability.

A typical attack scenario would involve:

  1. The attacker creates a symbolic link pointing to a sensitive system file or directory
  2. The attacker triggers Visual Studio 2022 to perform a file operation involving the malicious symlink
  3. Visual Studio follows the symlink without proper validation, performing the operation on the target file with elevated privileges
  4. The attacker gains unauthorized access or modifies protected resources

For detailed technical information about the exploitation mechanism, refer to the Microsoft Security Advisory for CVE-2023-36758.

Detection Methods for CVE-2023-36758

Indicators of Compromise

  • Unexpected symbolic link creation in Visual Studio working directories or temporary folders
  • File system audit logs showing access to sensitive files from Visual Studio processes via symlink traversal
  • Unusual privilege escalation events associated with Visual Studio 2022 processes
  • Modified system files or registry entries that correlate with Visual Studio execution times

Detection Strategies

  • Monitor file system activity for symbolic link creation patterns in directories where Visual Studio operates
  • Implement endpoint detection rules to identify Visual Studio processes accessing files outside expected directories via symlinks
  • Enable Windows Security Event logging for privilege escalation attempts (Event ID 4672, 4673)
  • Deploy behavioral analysis to detect anomalous file access patterns from devenv.exe and related Visual Studio processes

Monitoring Recommendations

  • Configure Windows auditing to log symbolic link creation and following operations
  • Implement SentinelOne's behavioral AI to detect privilege escalation attempts associated with IDE processes
  • Monitor for unusual parent-child process relationships involving Visual Studio executables
  • Review Windows Event logs for access violations and privilege use events correlated with Visual Studio activity

How to Mitigate CVE-2023-36758

Immediate Actions Required

  • Apply the latest security updates for Microsoft Visual Studio 2022 immediately
  • Review systems for any signs of compromise using the indicators listed above
  • Restrict network access to development environments where Visual Studio is installed
  • Implement the principle of least privilege for user accounts running Visual Studio

Patch Information

Microsoft has released security updates to address this vulnerability. Administrators should obtain the official patch from Microsoft Update or the Microsoft Security Update Guide. The patch addresses the improper link resolution issue by implementing proper validation of symbolic link targets before file operations are performed.

To verify the patch is installed, check that Visual Studio 2022 is updated to the latest version available from Microsoft. Use the Visual Studio Installer to check for and apply available updates.

Workarounds

  • If immediate patching is not possible, consider temporarily restricting Visual Studio usage to trusted, isolated environments
  • Implement strict file system permissions to limit symbolic link creation in sensitive directories
  • Use application control policies to monitor and restrict Visual Studio's file system access patterns
  • Consider temporarily disabling network access for systems running unpatched Visual Studio installations until patches can be applied
bash
# Check Visual Studio 2022 version and update status
# Run in Developer Command Prompt for VS 2022
devenv /? | findstr "Version"

# Use Visual Studio Installer to update to latest version
# Open Visual Studio Installer and click "Update" if available

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMicrosoft Visual Studio

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft CVE-2023-36758 Advisory
  • Related CVEs
  • CVE-2020-1133: Microsoft Visual Studio Privilege Escalation

  • CVE-2026-21257: Visual Studio 2022 Privilege Escalation

  • CVE-2025-49739: Visual Studio Privilege Escalation Flaw

  • CVE-2025-25003: Visual Studio 2019 Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English