CVE-2026-55071SepineTam mcp-for-stata
High 8.4
Follow: this CVE · SepineTam · SepineTam mcp-for-stata We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 8.4
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 21, 2026
- Updated
- Sep 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for mcp-for-stata.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | stata-mcp |
< 1.19.0 |
1.19.0 |
pip install "stata-mcp>=1.19.0" |
| PyPI | stata-mcp |
< 1.19.0 |
1.19.0 |
pip install "stata-mcp>=1.19.0" |
Per OSV / GitHub Advisories (GHSA-49m4-vp58-wgc9, PYSEC-2026-3700). Check the version in your lockfile before upgrading.
Affected products
- SepineTam · mcp-for-stata
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.