CVE-2026-47708
NoneCVSS
—
EPSS
0.4%
Published
Jul 21, 2026
CISA due date
—
The record
MCP-for-Stata is an MCP server for Stata to integrate Stata into an agent. Prior to version 1.17.3, the `log_file_name` parameter in the `stata_do` API and CLI is directly interpolated into a Stata command string without sanitization. The security guard (`GuardValidator`) only scans the do-file content but does not validate this parameter. An attacker can inject arbitrary Stata commands (including `shell`, `python`, `erase`, etc.) by crafting a malicious `log_file_name` containing quotes, newlines, or Stata command separators. Version 1.17.3 contains a patch for the issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-119586 SQLite command-line shell through 3.54.1 contains a command injection vulnerability in… CWE-77
- CVE-2026-108329 Tanium addressed an unauthorized code execution vulnerability in Threat Response. CWE-77
- CVE-2026-108303 Tanium addressed an unauthorized code execution vulnerability in Certificate Manager. CWE-77
- CVE-2026-93865 A missing authentication vulnerability in the Fireware OS FireCluster synchronization… CWE-77
- CVE-2026-117511 A vulnerability has been found in desmondmorris node-tesseract up to 0.2.7. CWE-77
- CVE-2026-90465 A missing authentication vulnerability in the FireCluster Sync processing allows an… CWE-77
- CVE-2026-107672 A maliciously crafted .stack.json file can trigger a trusted Markdown injection… CWE-77
- CVE-2026-116506 A vulnerability was determined in TOTOLINK A950RG 4.1.2cu.5268_B20221104. CWE-77