Impact
A flaw in the stata‑mcp application allows an attacker to inject and execute arbitrary Stata commands by supplying specially crafted do‑file content. This leads to direct command execution on the host running the application, compromising confidentiality, integrity, and availability of the affected system. The weakness is a classic code injection flaw (CWE‑94).
Affected Systems
The defect exists in the stata‑mcp package. All releases prior to version 1.13.0 are vulnerable; versions 1.13.0 and later contain the fix.
Risk and Exploitability
The vulnerability carries a CVSS score of 9.8, indicating critical severity. Its EPSS score is under 1%, suggesting a low probability of mass exploitation in the wild, and it is not cataloged in the CISA KEV list. The likely attack path involves an adversary who can supply a malicious do‑file to the affected instance, triggering the injection and gaining local command execution rights. The high CVSS reflects the potential for complete compromise once the injection is successful.
OpenCVE Enrichment
Github GHSA