{"id":"CVE-2026-31040","sourceIdentifier":"cve@mitre.org","published":"2026-04-08T16:16:22.977","lastModified":"2026-07-25T10:10:00.167","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Se identificó una vulnerabilidad en stata-mcp anterior a la v1.13.0 donde la validación insuficiente del contenido de archivos do de Stata proporcionados por el usuario puede llevar a la ejecución de comandos."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-09T18:23:38.978894Z","id":"CVE-2026-31040","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:statamcp:stata-mcp:*:*:*:*:*:*:*:*","versionEndExcluding":"1.13.0","matchCriteriaId":"CD23CBFB-6391-4291-9380-AE45481E555A"}]}]}],"references":[{"url":"https://github.com/SepineTam/stata-mcp/commit/52413ce","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://github.com/SepineTam/stata-mcp/issues/20","source":"cve@mitre.org","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/SepineTam/stata-mcp/pull/21","source":"cve@mitre.org","tags":["Issue Tracking"]},{"url":"https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0","source":"cve@mitre.org","tags":["Release Notes"]},{"url":"https://github.com/SepineTam/stata-mcp/issues/20","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Issue Tracking","Vendor Advisory"]}]}