{"id":"CVE-2026-31040","aliases":["GHSA-jpcj-7wfg-mqxv","PYSEC-2026-3076"],"url":"https://o3.security/vulnerability/CVE-2026-31040","summary":"stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution","details":"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.","published":"2026-04-08T00:00:00Z","modified":"2026-08-27T03:57:15.069716835Z","cvss":{"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"},"epss":{"score":0.00557,"percentile":0.43919,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"stata-mcp","fixedVersion":"1.13.0"}],"fix":{"url":"https://github.com/SepineTam/stata-mcp/commit/52413ce","label":"SepineTam/stata-mcp@52413ce"},"references":[{"type":"WEB","url":"https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31040.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31040"},{"type":"REPORT","url":"https://github.com/SepineTam/stata-mcp/issues/20"},{"type":"FIX","url":"https://github.com/SepineTam/stata-mcp/commit/52413ce"},{"type":"FIX","url":"https://github.com/SepineTam/stata-mcp/pull/21"},{"type":"PACKAGE","url":"https://github.com/sepinetam/stata-mcp"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T03:57:15.069716835Z"}}