🔍 CVE-2025-66416

8.1
CVSS Score
HIGH
2025-12-02
2026-10-18 18:10
✅ 완료

🇰🇷 한글 설명

MCP Python SDK(mcp) 1.23.0 미만 버전에서 HTTP 기반 서버 사용 시 DNS 리바인딩 보호가 기본적으로 활성화되지 않습니다. 인증 없이 로컬에서 실행 중인 FastMCP 서버를 대상으로 악성 웹사이트가 DNS 리바인딩 공격을 수행하여 사용자의 권한으로 도구를 호출하거나 리소스에 접근할 수 있습니다.

💡 쉬운 설명

인증 기능이 없는 로컬 서버를 사용하는 경우, 악성 웹사이트가 사용자의 컴퓨터 내부 서버에 몰래 명령을 내릴 수 있는 보안 취약점입니다. 이를 통해 공격자가 사용자의 권한을 도용하여 중요한 데이터에 접근하거나 특정 기능을 실행할 수 있습니다.

🇺🇸 원문 (English)

The MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.23.0, tThe Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication using FastMCP with streamable HTTP or SSE transport, and has not configured TransportSecuritySettings, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. Note that running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices. This issue does not affect servers using stdio transport. This vulnerability is fixed in 1.23.0.

📍 영향받는 시스템

mcp Python SDK (PyPI) 1.23.0 미만 버전 (HTTP/SSE 전송 방식 사용 시)

⚔️ 공격 벡터

악성 웹사이트를 통한 DNS 리바인딩 공격을 이용한 로컬 MCP 서버 우회 및 요청 전송

🛡️ 대응 방법

mcp Python SDK를 1.23.0 이상 버전으로 업데이트하거나, TransportSecuritySettings를 구성하여 보안을 강화해야 합니다.

🔧 검증 코드

출력된 버전 번호가 1.23.0 미만이면 취약한 상태입니다.

Shell / Script
pip show mcp | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python