SCA: security update for stata-mcp (GHSA-49m4-vp58-wgc9)

high Tenable Cloud Security Plugin ID 445907

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-55071)

Solution

Update the stata-mcp library and its related packages to version 1.19.0 or later.

See Also

https://github.com/advisories/GHSA-49m4-vp58-wgc9

Plugin Details

Severity: High

ID: 445907

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 8/13/2026

Updated: 9/22/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.54

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-55071

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.3

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/12/2026

Vulnerability Publication Date: 8/12/2026

Reference Information

CVE: CVE-2026-55071

cwe: CWE-94