mcp-cve-project

CVE-2026-55071 | MCP-for-Stata: command injection via unsanitized package in ado_package_install | High / 8.4

CVE Information

Field Value
CVE / NVD CVE-2026-55071
Date (index) 2026-08-12
Affected product (index) MCP-for-Stata: command injection via unsanitized package in ado_package_install
GHSA ID GHSA-49m4-vp58-wgc9
OWASP MCP Top 10 (2025) MCP05 - Command Injection & Execution
Published / disclosed 2026-08-12
Ecosystem Application / upstream project
Component MCP-for-Stata: command injection via unsanitized package in ado_package_install
EPSS score 0.002520000 (FIRST EPSS, 2026-09-26)
CVSS score High / 8.4
CWE CWE-94
Affected versions v1.18.2, v1.18.1, v1.18.0, v1.17.3, v1.17.2, v1.17.1, v1.17.0, v1.16.3, v1.16.2, v1.16.1, v1.16.0, v1.15.1, v1.15.0, v1.14.3, v1.14.2, v1.14.1, v1.14.0, v1.13.42, v1.13.41, v1.13.40, v1.13.39, v1.13.38, v1.13.37, v1.13.36, v1.13.35, v1.13.34, v1.13.33, v1.13.32, v1.13.31, v1.13.30, v1.13.29, v1.13.28, v1.13.27, v1.13.26, v1.13.25, v1.13.24, v1.13.23, v1.13.22, v1.13.21, v1.13.20, v1.13.19, v1.13.18, v1.13.17, v1.13.16, v1.13.15, v1.13.14, v1.13.13, v1.13.12, v1.13.11, v1.13.10, v1.13.9, v1.13.8, v1.13.7, v1.13.6, v1.13.5, v1.13.4, v1.13.3, v1.13.2, v1.13.1, v1.13.0, v1.12.1, v1.12.0, v1.11.1, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v1.9.1, v1.9.0, v1.8.2, v1.8.1, v1.8.0, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.3, v1.6.2, v1.6.1, v1.6.0, v1.5.3, v1.5.2, v1.5.1, v1.5.0, v1.4.1, v1.4.0, v1.3.10, v1.3.8, v1.3.7, v1.3.6, v1.3.5, v1.3.2
Fixed versions 1.19.0
Fix status Patched
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

MCP-for-Stata before 1.19.0 allowed command injection in the ado_package_install MCP tool. The package argument was concatenated into a Stata command without proper validation, allowing injected Stata commands and OS-level execution through Stata shell escapes. Fixed in 1.19.0.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-94; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification