🔍 CVE-2025-64340

6.7
CVSS Score
MEDIUM
2026-04-03
2026-07-24 21:10
✅ 완료

🇰🇷 한글 설명

FastMCP 3.2.0 미만 버전에서 서버 이름에 셸 메타문자(& 등)가 포함될 경우 Windows 환경에서 명령 주입(Command Injection)이 발생할 수 있습니다. 이는 설치 과정에서 subprocess.run()이 Windows의 .cmd 래퍼를 실행할 때 cmd.exe가 메타문자를 해석하기 때문에 발생합니다.

💡 쉬운 설명

FastMCP를 사용하여 프로그램을 설치할 때, 이름에 특수 기호를 섞어 넣으면 해커가 컴퓨터에 몰래 명령을 내릴 수 있는 보안 약점이 있습니다. 윈도우 운영체제의 명령 처리 방식 때문에 발생하는 문제입니다.

🇺🇸 원문 (English)

FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, server names containing shell metacharacters (e.g., &) can cause command injection on Windows when passed to fastmcp install claude-code or fastmcp install gemini-cli. These install paths use subprocess.run() with a list argument, but on Windows the target CLIs often resolve to .cmd wrappers that are executed through cmd.exe, which interprets metacharacters in the flattened command string. This issue has been patched in version 3.2.0.

📍 영향받는 시스템

FastMCP version < 3.2.0 (Windows 환경)

⚔️ 공격 벡터

악의적인 메타문자가 포함된 서버 이름을 fastmcp install 명령에 전달하여 명령 주입 수행

🛡️ 대응 방법

FastMCP를 3.2.0 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 3.2.0보다 낮으면 취약한 상태입니다.

Shell / Script
pip show fastmcp | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Gemini