CVE-2026-31040: stata-mcp - Command Injection
- Cve: CVE-2026-31040
- Name: stata-mcp - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands, potentially leading to full system compromise.
- Remediation: Update to version 1.13.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: command_injection
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00567
- Epss percentile: 0.47933
- Assignee: [email protected]
- Published at: 2026-04-08T16:16:22Z
- Age in days: 230
- Modified at: 2026-07-25T10:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31040
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/SepineTam/stata-mcp/commit/52413ce | Patch |
| https://github.com/SepineTam/stata-mcp/issues/20 | Issue Tracking, Vendor Advisory |
| https://github.com/SepineTam/stata-mcp/pull/21 | Issue Tracking |
| https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| statamcp:stata-mcp | < 1.13.0 | no | nvd | /v1/products/statamcp/stata-mcp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sepinetam/stata-mcp | commit, issues, package, pull, releases | yes | /v1/repositories/sepinetam/stata-mcp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts