CVE-2026-55071

Source
https://cve.org/CVERecord?id=CVE-2026-55071
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55071.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55071
Aliases
Published
2026-09-21T14:09:30Z
Modified
2026-09-23T03:47:15Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-94"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55071.json"
}
References

Affected packages

Git / github.com/sepinetam/mcp-for-stata

Affected ranges

Type
GIT
Repo
https://github.com/sepinetam/mcp-for-stata
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.19.0"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v1.*
v1.10.0
v1.10.1
v1.10.2
v1.11.0
v1.11.1
v1.12.0
v1.12.1
v1.13.0
v1.13.1
v1.13.10
v1.13.11
v1.13.12
v1.13.13
v1.13.14
v1.13.15
v1.13.16
v1.13.17
v1.13.18
v1.13.19
v1.13.2
v1.13.20
v1.13.21
v1.13.22
v1.13.23
v1.13.24
v1.13.25
v1.13.26
v1.13.27
v1.13.28
v1.13.29
v1.13.3
v1.13.30
v1.13.31
v1.13.32
v1.13.33
v1.13.34
v1.13.35
v1.13.36
v1.13.37
v1.13.38
v1.13.39
v1.13.4
v1.13.40
v1.13.41
v1.13.42
v1.13.5
v1.13.6
v1.13.7
v1.13.8
v1.13.9
v1.14.0
v1.14.1
v1.14.2
v1.14.3
v1.15.0
v1.15.1
v1.16.0
v1.16.1
v1.16.2
v1.16.3
v1.17.0
v1.17.1
v1.17.2
v1.17.3
v1.18.0
v1.18.1
v1.18.2
v1.3.10
v1.3.2
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.7.0
v1.7.1
v1.7.2
v1.7.3
v1.7.4
v1.8.0
v1.8.1
v1.8.2
v1.9.0
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55071.json"