HighVulnerability
CVE-2026-47708: MCP-for-Stata command injection through log_file_name parameter in stata_do
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-47708
- Published
- Record updated
Summary
CVE-2026-47708 affects MCP-for-Stata, an MCP server that integrates Stata into an agent, in versions prior to 1.17.3. The log_file_name parameter in the stata_do API and CLI is interpolated into a Stata command string without sanitization, and the GuardValidator checks only do-file content, not this parameter. An attacker can inject arbitrary Stata commands, including shell, python and erase, by crafting a log_file_name containing quotes, newlines or Stata command separators.
Mitigation
Version 1.17.3 contains a patch for the issue.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online