sepinetam/stata-mcp · Security
stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution
- GHSA ID
- GHSA-jpcj-7wfg-mqxv
- CVE ID
- CVE-2026-31040
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
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.
CWEs
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-31040 ↗
- https://github.com/SepineTam/stata-mcp/issues/20 ↗
- https://github.com/SepineTam/stata-mcp/pull/21 ↗
- https://github.com/SepineTam/stata-mcp/commit/52413ce ↗
- https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0 ↗
- https://github.com/advisories/GHSA-jpcj-7wfg-mqxv ↗