๐Ÿ” CVE Alert

CVE-2026-55071

HIGH 8.4

MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`

CVSS Score
8.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-94
Vendor sepinetam
Product mcp-for-stata
Published Sep 21, 2026
Last Updated Sep 21, 2026
Stay Ahead of the Next One

Get instant alerts for sepinetam mcp-for-stata

Be the first to know when new high vulnerabilities affecting sepinetam mcp-for-stata are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

SepineTam / mcp-for-stata
< 1.19.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/SepineTam/mcp-for-stata/security/advisories/GHSA-49m4-vp58-wgc9 github.com: https://github.com/SepineTam/mcp-for-stata/releases/tag/v1.19.0