CVE-2026-55071

published 21 Sep 2026 · updated 21 Sep 2026

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

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SepineTam<1.19.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-55071 severity on Zeptric[![CVE-2026-55071](https://zeptric.io/badge/cve/CVE-2026-55071.svg)](https://zeptric.io/cve/CVE-2026-55071)