ZeroDay Brief
CVE-2026-55071

An attacker who can invoke the MCP tool or the equivalent Python API can embed newline characters in the package argument to inject arbitrary Stata commands.

CVSS
8.4High
Chance of exploitation (EPSS)
0.25%
Published
Sep 21, 2026
In the news
Not yet

What to do

A serious code injection flaw that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Sepinetam Mcp-for-stata
< 1.19.0

Description

MCP-for-Stata is a MCP server for integrating Stata into agent loops with a safety-first design. Prior to version 1.19.0, the ado_package_install MCP tool in stata-mcp concatenates user-controlled input directly into a Stata command string without any validation or sanitization. An attacker who can invoke the MCP tool or the equivalent Python API can embed newline characters in the package argument to inject arbitrary Stata commands. Because Stata supports a shell escape command, this leads to full OS-level arbitrary command execution (RCE) under the account running the Stata-MCP server. The tool is registered in the default all profile, so no non-default configuration is required. This issue has been patched in version 1.19.0.

CWE-94

Affected products

Get alerts for these →

No product list yet. It usually appears within a few days of publication.

Timeline 1

Latest change: CVE-2026-55071 published (CVSS 8.4) (Sep 21, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Mon, Sep 21, 2026

  1. CVECVE-2026-55071 published (CVSS 8.4)CVE Program · 15:17 UTC

References 3

  • github.com /SepineTam/mcp-for-stata/releases/tag/v1.19.0
  • github.com /SepineTam/mcp-for-stata/security/advisories/GHSA-49m4-vp58-wgc9
  • github.com /SepineTam/mcp-for-stata/security/advisories/GHSA-49m4-vp58-wgc9

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”