Skip to main content
VulnerabilityPublished

CVE-2026-45555: MarcelRoozekrans roslyn-codelens-mcp · Code Injection

Affects MarcelRoozekrans roslyn-codelens-mcpSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.8 High : upgrade to 1.17.0 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.17.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade roslyn-codelens-mcp and marcelroozekrans/roslyn-codelens-mcp to 1.17.0.

Affected software

ProductAffectedFixed in
MarcelRoozekransroslyn-codelens-mcpAffected
  • >=0.0.9 <1.17.0
Fixed in
  • 1.17.0
GitHubmarcelroozekrans/roslyn-codelens-mcppkg:github/marcelroozekrans/roslyn-codelens-mcpOther threatsAffected
  • <1.17.0
Fixed in
  • 1.17.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade roslyn-codelens-mcp to version 1.17.0 or later, where this vulnerability is fixed. Until upgraded, avoid opening untrusted .csproj files or solutions with the MCP server to prevent arbitrary code execution. Patch status is not explicitly confirmed beyond the version fix indication; check the vendor's official channels for current remediation guidance.

Description

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.

References

Community reviews

Loading reviews…