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.
Exploitability Profile
Triage Priority
CVSS v3.1
Source: GitHub
None Observed
No active abuse flagged
Not Observed
No public PoC links extracted
Confirmed
1 patch mentions · 3 advisories
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Monitor mention velocity for PoC drops, exploit tooling, or active exploitation inflection.
| Authority |
|---|
Stable
Peak 1 on Oct 12, 2026
1mention
Across 1 tracked day
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
CNAGitHub | v3.1 | 8.4HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
1 total mentions across 1 observed day · Peak 1 on Oct 12, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.