{"action":"Upgrade stata-mcp to 1.13.0 or later.","affected":[{"fixed":"1.13.0","introduced":"0"}],"component":"stata-mcp","cve_ids":["CVE-2026-31040"],"ecosystem":"PyPI","epss":0.00567,"exploited":false,"fixed_versions":["1.13.0"],"ghsa_id":"GHSA-jpcj-7wfg-mqxv","id":"tcs_01M5KH396AZ74AW48RVW9NR6H7","modified_at":"2026-07-13T16:33:12.969652260Z","published_at":"2026-07-13T14:36:49.980423Z","references":["https://osv.dev/vulnerability/PYSEC-2026-3076","https://nvd.nist.gov/vuln/detail/CVE-2026-31040","https://github.com/SepineTam/stata-mcp/issues/20","https://github.com/SepineTam/stata-mcp/pull/21","https://github.com/SepineTam/stata-mcp/commit/52413ce","https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0","https://github.com/sepinetam/stata-mcp","https://pypi.org/project/stata-mcp","https://github.com/advisories/GHSA-jpcj-7wfg-mqxv"],"severity":{"label":"critical","score":9.8},"sources":[{"source":"osv","source_id":"PYSEC-2026-3076","url":"https://osv.dev/vulnerability/PYSEC-2026-3076"},{"source":"nvd","source_id":"CVE-2026-31040","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31040"}],"summary":"stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution"}