What’s Vulnerable › Vulnerabilities
CVE-2026-31040
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-08 · updated 2026-07-25
- Weakness: CWE-94
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 products
- Statamcp Stata-Mcp: before 1.13.0 — fixed in 1.13.0
How to fix
Upgrade to a fixed version: Statamcp Stata-Mcp 1.13.0. Check the vendor advisory for mitigations.
References
- 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/SepineTam/stata-mcp/issues/20
Get alerted when CVE-2026-31040 or the next vulnerability affects your stack