← Back to search

CVE-2026-55071

8.4 HIGHpublic exploit available

Published 2026-09-21 · Updated 2026-09-24

AI risk analysis

Summary
The flaw allows an attacker to inject arbitrary Stata commands by embedding newline characters, leading to full OS-level arbitrary command execution.
Exploitability
Exploitation is relatively straightforward as it requires invoking the MCP tool or equivalent Python API with user-controlled input. No specific configuration is needed beyond invoking the tool.
Blast radius
If exploited, this could lead to full system compromise, as the attack can execute arbitrary commands under the Stata-MCP server account.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 1.19.0 or later.
rcestatamcposcommand-injection

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-94

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.