Arbitrary Code Injection Affecting roslyncodelens.mcp package, versions [0.0.9,1.17.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-ROSLYNCODELENSMCP-17707795
  • published30 Jun 2026
  • disclosed29 May 2026
  • creditUnknown

Introduced: 29 May 2026

CVE-2026-45555  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade RoslynCodeLens.Mcp to version 1.17.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the get_diagnostics process. An attacker can execute arbitrary code with the server's operating system privileges by placing a malicious .csproj file that references an attacker-controlled DLL in a location accessed by the server.

CVSS Base Scores

version 4.0
version 3.1