CVE-2026-31040
JSON

9.8critical

stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.13% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-jpcj-7wfg-mqxvPYSEC-2026-3076

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
stata-mcp (PyPI)before 1.13.0GitHub Advisory Database, PyPA Advisory Database
statamcp stata-mcpbefore 1.13.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-20CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se identificó una vulnerabilidad en stata-mcp anterior a la v1.13.0 donde la validación insuficiente del contenido de archivos do de Stata proporcionados por el usuario puede llevar a la ejecución de comandos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31040 changed 2026-04-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-jpcj-7wfg-mqxv changed 2026-07-13CC-BY-4.0
NVDCVE-2026-31040 changed 2026-07-25Public domain
PyPA Advisory DatabasePYSEC-2026-3076 changed 2026-07-13CC-BY-4.0