🔍 CVE-2026-45555

7.8
CVSS Score
HIGH
2026-05-29
2026-07-21 12:10
✅ 완료

🇰🇷 한글 설명

Roslyn CodeLens MCP Server의 get_diagnostics 도구가 허용 목록이나 서명 확인 없이 참조된 모든 DiagnosticAnalyzer 어셈블리를 로드하고 실행하는 취약점입니다. 공격자가 악성 DLL을 참조하는 .csproj 파일을 배치할 경우, 사용자가 해당 솔루션을 열 때 서버 프로세스의 권한으로 임의 코드가 실행될 수 있습니다.

💡 쉬운 설명

코드를 분석해주는 프로그램이 검증되지 않은 외부 파일을 자동으로 실행하는 보안 허점이 발견되었습니다. 해커가 만든 악성 파일이 포함된 프로젝트를 열기만 해도 컴퓨터가 해킹당할 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Roslyn CodeLens MCP Server 버전 0.0.9 ~ 1.17.0

⚔️ 공격 벡터

공격자가 조작된 .csproj 파일과 악성 DLL을 피해자가 열어볼 수 있는 위치에 배치하여 실행 유도

🛡️ 대응 방법

Roslyn CodeLens MCP Server를 최신 버전인 1.17.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.17.0 미만이면 취약한 상태이며, 1.17.0 이상이면 안전합니다.

Shell / Script
npm list -g roslyn-codelens-mcp-server | grep -E 'roslyn-codelens-mcp-server@'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

.NET