A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-45555

CVE-2026-45555: Roslyn CodeLens MCP Server RCE Flaw

CVE-2026-45555 is a remote code execution vulnerability in Roslyn CodeLens MCP Server affecting versions 0.0.9 to 1.17.0. Attackers can execute arbitrary code by placing malicious assemblies. This article covers technical details, affected versions, impact, and mitigation.

Published: June 4, 2026

CVE-2026-45555 Overview

CVE-2026-45555 is an arbitrary code execution vulnerability in Roslyn CodeLens MCP Server, a Roslyn-based Model Context Protocol (MCP) server that provides semantic code intelligence for .NET codebases. The get_diagnostics MCP tool loads and executes every DiagnosticAnalyzer assembly referenced by the target solution. The server performs no allowlisting, no signature validation, and no user confirmation. Because includeAnalyzers defaults to true, exploitation requires no explicit opt-in from the victim. An attacker who places a malicious .csproj referencing an attacker-controlled DLL in a location the victim opens with the MCP server gains code execution in the server process. The flaw affects versions 0.0.9 through prior to 1.17.0 and is fixed in 1.17.0.

Critical Impact

Opening an attacker-supplied .NET solution causes the MCP server to load and execute arbitrary attacker-controlled code with the server process's OS privileges.

Affected Products

  • Roslyn CodeLens MCP Server versions 0.0.9 through 1.16.x
  • .NET solutions processed via the get_diagnostics MCP tool
  • Host environments where the MCP server runs with user or elevated privileges

Discovery Timeline

  • 2026-05-29 - CVE-2026-45555 published to NVD
  • 2026-06-01 - Last updated in NVD database

Technical Details for CVE-2026-45555

Vulnerability Analysis

The vulnerability falls under [CWE-94] Improper Control of Generation of Code. Roslyn analyzers are .NET assemblies that the compiler loads and executes in-process to surface diagnostics. The MCP server's get_diagnostics tool delegates to Roslyn's analyzer loading pipeline against whatever solution and project files the caller points it at. No trust boundary exists between the analyzer DLLs referenced in a project and the server process itself. As a result, any DiagnosticAnalyzer referenced by a .csproj runs with the privileges of the MCP server when diagnostics are requested.

Root Cause

The root cause is the absence of integrity controls around analyzer loading. The server does not maintain an allowlist of trusted analyzer assemblies. It does not validate Authenticode signatures or content hashes. It does not prompt the user before loading third-party code. The includeAnalyzers parameter defaults to true, removing the need for any user gesture to trigger analyzer execution.

Attack Vector

The attack requires local access through user interaction, consistent with the CVSS vector. An attacker stages a repository containing a crafted .csproj that references a malicious analyzer DLL, either bundled in the repository or pulled from an attacker-controlled NuGet feed. The victim opens the folder or solution with a client that invokes the Roslyn CodeLens MCP Server. When get_diagnostics runs, the analyzer assembly loads into the server process and its constructor or analyzer entry points execute attacker code. The code runs with the OS privileges of the user hosting the MCP server, enabling credential theft, lateral movement, or persistence on the developer workstation. See the GitHub Security Advisory GHSA-552p-8f74-6x7q for technical details.

Detection Methods for CVE-2026-45555

Indicators of Compromise

  • Unexpected child processes spawned by the Roslyn CodeLens MCP Server host process (dotnet, node, or the MCP binary) shortly after a solution is opened.
  • Outbound network connections originating from the MCP server process to non-developer infrastructure.
  • .csproj files referencing analyzer DLLs from non-standard paths, unsigned publishers, or unfamiliar NuGet sources.
  • New or modified DLLs in repository-local directories such as analyzers/, tools/, or arbitrary subfolders referenced via <Analyzer Include="..."/> elements.

Detection Strategies

  • Inventory installed versions of Roslyn CodeLens MCP Server across developer endpoints and flag any version below 1.17.0.
  • Monitor process trees rooted at the MCP server for execution of shells, scripting interpreters, or LOLBins after solution open events.
  • Parse .csproj and Directory.Build.props files for <Analyzer> references pointing to unsigned or non-standard paths.

Monitoring Recommendations

  • Enable EDR telemetry on developer workstations and alert on credential access APIs invoked from .NET host processes.
  • Log MCP server startup parameters and the solution paths it loads, then correlate against repository clone events.
  • Track NuGet package restore events and flag analyzer packages from unverified feeds.

How to Mitigate CVE-2026-45555

Immediate Actions Required

  • Upgrade Roslyn CodeLens MCP Server to version 1.17.0 or later on every developer workstation and CI runner.
  • Do not open untrusted repositories or solutions with the MCP server until the upgrade is complete.
  • Audit recently opened solutions for unfamiliar <Analyzer> references and quarantine any suspicious analyzer DLLs.

Patch Information

The maintainer has released version 1.17.0, which fixes the unrestricted analyzer loading behavior. Refer to the GitHub Security Advisory GHSA-552p-8f74-6x7q for release details and remediation guidance.

Workarounds

  • Pass includeAnalyzers=false when invoking the get_diagnostics tool on solutions of unknown provenance.
  • Run the MCP server under a low-privilege account or inside an isolated container or VM dedicated to untrusted code review.
  • Restrict NuGet sources to internal, curated feeds and require signed analyzer packages only.
  • Treat repositories from external contributors as untrusted until reviewed offline without the MCP server attached.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRoslyn

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability

  • CVE-2026-42951: MacGregor VDR Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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