CVE-2026-55071CWE-94code-injection

CVE-2026-55071

High · published September 21, 2026

CVSS v3.1
8.4
EPSS
0%
Percentile
15.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00252 · 15.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-09-21T19:17Z
References (3)
EPSS history
Timeline
  • 23 SEP 03:46Z
    EPSS moved — → 0%
    epss
  • 21 SEP 14:09Z
    MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`
    cvelistv5