Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

MCP-for-Stata: Command injection via log_file_name parameter in Stata command wrapper

CVSS 4.0 9.3 CRITICALCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-47708

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-47708

Published

stata-mcp

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "SepineTam",
                    "product": "stata-mcp",
                    "versions": [
                        {
                            "version": "< 1.17.3",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 09:46 UTC · 274 of 275 readable · 272 fully read · documentation 469/469 current