MCP-for-Stata Command Injection via log_file_name Parameter
MCP-for-Stata versions prior to 1.17.3 are vulnerable to command injection through the unsanitized log_file_name parameter in the stata_do API and CLI. An attacker can inject arbitrary Stata commands by crafting a malicious log_file_name parameter.
Disclosed 21 July 2026 · Record updated 13 September 2026
Impact
Arbitrary Stata command execution including shell, python, and file operations possible through log_file_name parameter injection.
Our coverage
No articles linked to this incident yet.
Sources
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-47708
