Skip to content
HighVulnerability

CVE-2026-45555: Roslyn CodeLens MCP Server code execution through get_diagnostics analyzers

Identifier
CVE-2026-45555
Published
Record updated
View JSON

Summary

CVE-2026-45555 affects the Roslyn CodeLens MCP Server from 0.0.9 through 1.17.0. The get_diagnostics MCP tool loads and executes every DiagnosticAnalyzer assembly referenced by the target solution, with no allowlist, signature check or user confirmation, and includeAnalyzers defaults to true. An attacker who can get a malicious .csproj referencing an attacker-controlled DLL into a location the victim opens with the server achieves arbitrary code execution in the server process with its OS privileges.

Mitigation

Fixed in 1.17.0.