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