CVE-2026-31040
stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution
EPSS 0.56%
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.
How to fix CVE-2026-31040
To remediate CVE-2026-31040, upgrade the affected package to a fixed version below.
- PyPI/stata-mcp—upgrade to 1.13.0 or later
- PyPI/stata-mcp—upgrade to 1.13.0 or later
Is CVE-2026-31040 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.13.0
- from 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 |