{"id":"CVE-2026-45555","published":"2026-05-29T12:54:59Z","modified":"2026-05-29T16:23:08Z","title":"Roslyn CodeLens MCP Server: Untrusted Roslyn Analyzer Execution via get_diagnostics Leads to Arbitrary Code Execution","vendor":"MarcelRoozekrans","product":"roslyn-codelens-mcp","tier":"tail","description":{"text":"Roslyn CodeLens MCP Server is a Roslyn-based MCP server providing semantic code intelligence for .NET codebases. From 0.0.9 to 1.17.0, the get_diagnostics MCP tool loads and executes all DiagnosticAnalyzer assemblies referenced by the target solution without any allowlist, signature check, or user confirmation; includeAnalyzers defaults to true, so no explicit opt-in is required. An attacker who can place a malicious .csproj referencing an attacker-controlled DLL in a location the victim opens with the MCP server will achieve arbitrary code execution in the server process with the server's OS privileges. This vulnerability is fixed in 1.17.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00143,"percentile":0.03709,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/MarcelRoozekrans/roslyn-codelens-mcp/security/advisories/GHSA-552p-8f74-6x7q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.74},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"marcelroozekrans","affectedVersions":[{"vendor":"MarcelRoozekrans","product":"roslyn-codelens-mcp","versions":[">= 0.0.9, < 1.17.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-29T16:22:33.187069Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-33302","exploited":false,"provenance":"source"}}