Warning
vulnerableVerifiedAGT-2026-0138
stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution
A real bug in otherwise honest software. Check your version against the affected range below.
GHSA-jpcj-7wfg-mqxv · CVE-2026-31040 · PYSEC-2026-3076
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.
Imported from OSV GHSA-jpcj-7wfg-mqxv.
Affected
- PyPI:stata-mcp
- < 1.13.0 (fixed in 1.13.0)
Field marks
- Kind
- mcp server
- Reported by
- osv-import
Sources
- osv.dev https://osv.dev/vulnerability/GHSA-jpcj-7wfg-mqxv
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-31040
- github.com https://github.com/SepineTam/stata-mcp/issues/20
- github.com https://github.com/SepineTam/stata-mcp/pull/21
- github.com https://github.com/SepineTam/stata-mcp/commit/52413ce
- github.com https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0
- github.com https://github.com/sepinetam/stata-mcp
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0138.json.