CVE-2026-31040 stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution
CriticalCVSS 9.8
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi stata-mcp(PyPI) | < 1.13.0; = 0.1.0; = 1.3.2; = 1.3.3 +32 more | 1.13.0 | Fixed |
| statamcp stata-mcp | < 1.13.0 | 1.13.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi stata-mcp(PyPI) | < 1.13.0 | 1.13.0 |
| pypi stata-mcp(PyPI) | = 0.1.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.10.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.10.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.10.2 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.11.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.11.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.12.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.12.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.10 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.2 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.3 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.4 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.5 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.6 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.7 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.3.8 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.4.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.4.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.5.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.5.2 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.5.3 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.6.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.6.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.6.2 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi stata-mcp(PyPI) | = 1.6.3 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.7.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.7.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.7.2 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.7.3 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.7.4 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.8.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.8.1 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.8.2 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.9.0 | No fix listed |
| pypi stata-mcp(PyPI) | = 1.9.1 | No fix listed |
| statamcp stata-mcp | < 1.13.0 | 1.13.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com release-notes
- github.com product
- pypi.org product
- github.com vendor-advisory