CVE-2026-31040
EPSS 0.14%stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution
Published: 4/8/2026Modified: 4/8/2026
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 packages (1)
- PyPI/stata-mcpfrom 0, < 1.13.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-31040
- PATCHhttps://github.com/sepinetam/stata-mcp
- WEBhttps://github.com/SepineTam/stata-mcp/commit/52413ce
- WEBhttps://github.com/SepineTam/stata-mcp/issues/20
- WEBhttps://github.com/SepineTam/stata-mcp/pull/21
- WEBhttps://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0