Affected versions
Version ranges need review.
PyPIstata-mcp
- Affected versions
- <1.13.0 || =0.1.0 || =1.10.0 || =1.10.1 || =1.10.2 || =1.11.0 || =1.11.1 || =1.12.0 || =1.12.1 || =1.3.10 || =1.3.2 || =1.3.3 || =1.3.4 || =1.3.5 || =1.3.6 || =1.3.7 || =1.3.8 || =1.4.0 || =1.4.1 || =1.5.1 || =1.5.2 || =1.5.3 || =1.6.0 || =1.6.1 || =1.6.2 || =1.6.3 || =1.7.0 || =1.7.1 || =1.7.2 || =1.7.3 || =1.7.4 || =1.8.0 || =1.8.1 || =1.8.2 || =1.9.0 || =1.9.1
- Fixed version
- 1.13.0
PyPIstata-mcp
- Affected versions
- < 1.13.0
- Fixed version
- 1.13.0
Exploitation
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.
Links
- https://github.com/SepineTam/stata-mcp/commit/52413ce
- https://github.com/SepineTam/stata-mcp/issues/20
- https://github.com/SepineTam/stata-mcp/pull/21
- https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0
- https://github.com/advisories/GHSA-jpcj-7wfg-mqxv
- https://github.com/sepinetam/stata-mcp
- https://nvd.nist.gov/vuln/detail/CVE-2026-31040
- https://pypi.org/project/stata-mcp

