critical9.8
CVE-2026-31040
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.
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | stata-mcp | < 1.13.0 | 1.13.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Statamcp | Stata-Mcp | before 1.13.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jpcj-7wfg-mqxv
- 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