Advisory

GHSA-jpcj-7wfg-mqxv

Also known as: CVE-2026-31040, PYSEC-2026-3076

Summary

stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-08 18:34 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

stata-mcp

PyPI · All systems

Affected

  • introduced 0, fixed 1.13.0 (ecosystem)

Fixed versions

1.13.0

Fix

  • Fixed version 1.13.0
    pip install --upgrade stata-mcp==1.13.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences