{"id":"CVE-2026-31040","published":"2026-04-08T00:00:00Z","modified":"2026-04-09T20:19:10Z","title":"A vulnerability was identified in stata-mcp prior to v1.13.0 where insufficient validation of user-supplied Stata…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00567,"percentile":0.47944,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/SepineTam/stata-mcp/issues/20","tags":[]},{"url":"https://github.com/SepineTam/stata-mcp/pull/21","tags":[]},{"url":"https://github.com/SepineTam/stata-mcp/commit/52413ce","tags":[]},{"url":"https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0","tags":[]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":9.59},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-09T18:23:38.978894Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"stata-mcp","vulnerableRanges":["<1.13.0"],"patched":["1.13.0"],"from":["GHSA-jpcj-7wfg-mqxv","PYSEC-2026-3076"],"provenance":"source"}],"summary":{"text":"The stata-mcp component, in versions prior to v1.13.0, fails to adequately validate user-supplied Stata do-file content, which allows crafted input to be interpreted as code. An attacker who can supply do-file content to the affected component can cause arbitrary command execution, with no authentication, user interaction, or special configuration required beyond network access to the service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:10Z"},"euvd":{"id":"EUVD-2026-20475","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-31040","published":"2026-04-08","fixed":"1.13.0","kev":false},{"cve":"CVE-2026-47708","published":"2026-07-21","fixed":"1.17.3","kev":false,"link":{"from":"CVE-2026-31040","to":"CVE-2026-47708","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:stata-mcp","fromFixed":"1.13.0","toFixed":"1.17.3","daysApart":104}]}},{"cve":"CVE-2026-55071","published":"2026-09-21","fixed":"1.19.0","kev":false}],"package":"PyPI:stata-mcp"}}