Advisory record · GHSA-49m4-vp58-wgc9

MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`

CVSS 8.4 HighEPSS 0.0025 · 16th percentile

Published by the GitHub Advisory Database at 12 Aug 2026, 19:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
stata-mcpPyPI<1.19.01.19.0
Identifiers
GHSA-49m4-vp58-wgc9 · CVE-2026-55071 · PYSEC-2026-3700
Weakness (CWE)
CWE-94
Published
12 Aug 2026
Updated
19 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

stata-mcp versions before 1.19.0 let a caller of the ado_package_install tool inject extra Stata commands through the package argument by including newlines. Using Stata's shell command, this runs arbitrary operating system commands as the user running the server. Upgrade to stata-mcp 1.19.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.4 High 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0025, the 16th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:39 UTC First seen by agentprime
  2. 31 Oct 2026, 14:39 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.