Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-55071— MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`

Quick assessment

Affected
SepineTam mcp-for-stata
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MCP-for-Stata 是一个 MCP(Model Context Protocol)服务器,旨在以“安全第一”的设计理念将 Stata 集成到智能体(agent)工作流中。在版本 1.19.0 之前, 中的 MCP 工具将用户控制的输入直接拼接到 Stata 命令字符串中,且未进行任何验证或清理(sanitization)。能够调用该 MCP 工具或等效 Python API 的攻击者,可以在 参数中嵌入换行符,从而注入任意 Stata 命令。由于 Stata 支持 shell 转义命令,这将导致在运行 St

CVSS 8.4 · High EPSS 0.25% · P15

Affected Version Matrix 1

VendorProduct Version RangeStatus
SepineTam mcp-for-stata < 1.19.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55071

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
SepineTam mcp-for-stata < 1.19.0 -

II. Public POCs for CVE-2026-55071

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55071

请登录查看更多情报信息。

Other References for CVE-2026-55071 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55071

No comments yet


Leave a comment