CVE-2026-31040
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductStatamcp Stata-mcp
PublishedApr 8, 2026
First seenApr 8, 2026
Weakness typeCWE-94Code injection
How to fix
Update
- statamcp stata-mcp1.13.0 or later
- stata-mcp1.13.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| statamcp stata-mcp | v < 1.13.0 | 1.13.0 |
| stata-mcpPyPI | v < 1.13.0 | 1.13.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.