🔍 CVE-2026-55071

8.4
CVSS Score
HIGH
2026-09-21
2026-09-24 21:17
✅ 완료

🇰🇷 한글 설명

MCP-for-Stata 1.19.0 미만 버전의 ado_package_install 도구에서 사용자 입력값이 검증 없이 Stata 명령어로 직접 연결되는 취약점이 발견되었습니다. 공격자가 패키지 인자에 줄바꿈 문자를 삽입하여 임의의 Stata 명령어를 주입할 수 있으며, 이를 통해 운영체제 수준의 명령 실행(RCE)이 가능합니다.

💡 쉬운 설명

프로그램이 사용자가 입력한 값을 확인하지 않고 그대로 실행하여 발생하는 보안 문제입니다. 나쁜 의도를 가진 사람이 명령어를 몰래 끼워 넣으면 컴퓨터를 마음대로 조종할 수 있습니다.

🇺🇸 원문 (English)

MCP-for-Stata is a MCP server for integrating Stata into agent loops with a safety-first design. Prior to version 1.19.0, the ado_package_install MCP tool in stata-mcp concatenates user-controlled input directly into a Stata command string without any validation or sanitization. An attacker who can invoke the MCP tool or the equivalent Python API can embed newline characters in the package argument to inject arbitrary Stata commands. Because Stata supports a shell escape command, this leads to full OS-level arbitrary command execution (RCE) under the account running the Stata-MCP server. The tool is registered in the default all profile, so no non-default configuration is required. This issue has been patched in version 1.19.0.

📍 영향받는 시스템

MCP-for-Stata (stata-mcp) 1.19.0 미만 버전

⚔️ 공격 벡터

ado_package_install 도구의 package 인자에 줄바꿈 문자를 포함한 악성 명령어를 주입하여 OS 명령 실행

🛡️ 대응 방법

MCP-for-Stata를 최신 버전인 1.19.0 이상으로 업데이트하십시오.

🔧 검증 코드

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

Shell / Script
pip show stata-mcp 2>/dev/null | grep -E 'Version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python