CVE-2026-31040: stata-mcp · CVE-2026-31040 is a critical
Affects stata-mcpSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.13.0 as a priority.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.13.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade sepinetam/stata-mcp to 1.13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsepinetam/stata-mcppkg:github/sepinetam/stata-mcpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid processing untrusted Stata do-files with vulnerable versions of stata-mcp.
Description
CVE-2026-31040 is a critical vulnerability in stata-mcp prior to version 1.13.0 where insufficient validation of user-supplied Stata do-file content can lead to command execution. This allows an attacker to execute arbitrary commands without requiring user interaction or privileges. The vulnerability has a high CVSS score of 9.8, indicating severe impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.