{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31040","published":"2026-04-08T16:16:22.977000Z","last_modified":"2026-07-25T10:10:00.167000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:statamcp:stata-mcp:*:*:*:*:*:*:*:*","part":"a","vendor":"statamcp","product":"stata-mcp","version_end_excluding":"1.13.0"}],"cpes_truncated":false,"vendors":["statamcp"],"products":["statamcp/stata-mcp"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jpcj-7wfg-mqxv","ecosystem":"PyPI","name":"stata-mcp","purl":"pkg:pypi/stata-mcp","ranges":[{"introduced":"0","fixed":"1.13.0"}],"versions":["0.1.0","1.10.0","1.10.1","1.10.2","1.11.0","1.11.1","1.12.0","1.12.1","1.3.10","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.4.0","1.4.1","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.8.0","1.8.1","1.8.2","1.9.0","1.9.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-3076","ecosystem":"PyPI","name":"stata-mcp","purl":"pkg:pypi/stata-mcp","ranges":[{"introduced":"0","fixed":"1.13.0"}],"versions":["0.1.0","1.10.0","1.10.1","1.10.2","1.11.0","1.11.1","1.12.0","1.12.1","1.3.10","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.4.0","1.4.1","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.8.0","1.8.1","1.8.2","1.9.0","1.9.1"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-31040/","html_en":"/en/cve/CVE-2026-31040/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31040","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31040"},"untrusted":{"vendor_name":"Statamcp","product_name":"Stata-mcp","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/SepineTam/stata-mcp/commit/52413ce","tags":["Patch"]},{"url":"https://github.com/SepineTam/stata-mcp/issues/20","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/SepineTam/stata-mcp/pull/21","tags":["Issue Tracking"]},{"url":"https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0","tags":["Release Notes"]}]}}