PoC Monitor
← All CVEs
CVE-2026-45555published 29 May 2026 12:54 UTCData: JSON · API

MarcelRoozekrans roslyn-codelens-mcp

Roslyn CodeLens MCP Server: Untrusted Roslyn Analyzer Execution via get_diagnostics Leads to Arbitrary Code Execution

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MarcelRoozekrans roslyn-codelens-mcp
  • >= 0.0.9, < 1.17.0

Fixed in 1.17.0

Mitigation

Upgrade roslyn-codelens-mcp to 1.17.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.