Live threats

All CVEs / Statamcp

CVE-2026-31040Statamcp Stata-mcp

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Apr 8, 2026
Updated
Jul 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A vulnerability was identified in stata-mcp prior to v1.13.0 where insufficient validation of user-supplied Stata do-file content can lead to command execution.

Original NVD text.

What to do

  1. Apply the vendor's security update for Stata-mcp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI stata-mcp < 1.13.0 1.13.0 pip install "stata-mcp>=1.13.0"
PyPI stata-mcp < 1.13.0 1.13.0 pip install "stata-mcp>=1.13.0"

Per OSV / GitHub Advisories (GHSA-jpcj-7wfg-mqxv, PYSEC-2026-3076). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
statamcpstata-mcp< 1.13.0

Official sources

References

Links published by the sources. Open them with care.