CVE-2026-45555: RCE in Roslyn CodeLens MCP Server via unchecked analyzer DLL loading
The get_diagnostics tool in Roslyn CodeLens MCP Server (versions 0.0.9 through 1.17.0) loads and executes all DiagnosticAnalyzer assemblies referenced by a target solution with no allowlist, signature check or user confirmation, and analyzer loading is enabled by default. An attacker who plants a malicious .csproj referencing an attacker-controlled DLL in a codebase the victim opens gains arbitrary code execution with the MCP server's OS privileges; fixed in 1.17.0.
Disclosed 29 May 2026 · Record updated 13 September 2026
Impact
Arbitrary code execution in the MCP server process with the server's OS privileges when a victim opens an attacker-crafted .NET project.
Our coverage
No articles linked to this incident yet.
Sources
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-45555
