Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Packages: stata-mcp versions before 1.17.3 are affected. The log_file_name parameter in the stata_do API and CLI is inserted into a Stata command string without validation, so an attacker who can call these interfaces can inject arbitrary Stata commands, including shell commands, and write files outside the log directory. Upgrade to stata-mcp 1.17.3 or later; the source gives no other workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.3 | Critical | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0038, the 33rd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
Sources
- GitHub Advisory Database: GHSA-4p62-hqp5-g644
- OSV: GHSA-4p62-hqp5-g644
- github.com/SepineTam/stata-mcp/security/advisories/GHSA-4p62-hqp5-g644
- github.com/SepineTam/mcp-for-stata/issues/74
- github.com/SepineTam/mcp-for-stata/commit/e6f945941ae0c7cf5e74a428e0b3dc82b396382f
- github.com/SepineTam/stata-mcp
- pypi.org/project/stata-mcp
- github.com/advisories/GHSA-4p62-hqp5-g644
- nvd.nist.gov/vuln/detail/CVE-2026-47708