CVE-2026-31040
CRITICALCVSS 9.8/10EPSS 0.56%
Last modified
CVE-2026-31040 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Statamcp | Stata-Mcp | < 1.13.0 |
References
- https://github.com/SepineTam/stata-mcp/issues/20Issue Tracking, Vendor Advisory
- https://github.com/SepineTam/stata-mcp/pull/21Issue Tracking
- https://github.com/SepineTam/stata-mcp/issues/20Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31040?
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 severe is CVE-2026-31040?
CVE-2026-31040 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 0.56% probability of exploitation in the next 30 days.
How do I fix CVE-2026-31040?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31018In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and edit…8.8
- CVE-2026-31019In the Website module of Dolibarr ERP & CRM 22.0.4 and below…8.8
- CVE-2026-3102A vulnerability was determined in exiftool up to 13.49 on ma…8.8
- CVE-2026-31027TOTOlink A3600R v5.9c.4959 contains a buffer overflow vulner…9.8
- CVE-2026-3103A logic error in the remove_password() function in Checkmk G…5.4
- CVE-2026-3104A specially crafted domain can be used to cause a memory lea…7.5
- CVE-2026-31048An issue in the <code>pickle</code> protocol of Pyro v3.x al…9.8
- CVE-2026-31049An issue in Hostbill v.2025-11-24 and 2025-12-01 allows a re…9.8
- CVE-2026-3105SummaryThis advisory addresses a SQL injection vulnerability…8.8
- CVE-2026-31050Cross Site Scripting vulnerability in Hostbill v.2025-11-24 …4.9
- CVE-2026-31051An issue in Hostbill v.2025-11-24 and 2025-12-01 allows a re…3.8
- CVE-2026-31052An issue in Hostbill v.2025-11-24 and 2025-12-01 allows a re…5.3
Are you affected by CVE-2026-31040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
