CVE-2026-31040

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductStatamcp Stata-mcp
PublishedApr 8, 2026
First seenApr 8, 2026

How to fix

Update
  • statamcp stata-mcp1.13.0 or later
  • stata-mcp1.13.0 or later

Affected products

ProductAffected versionsFixed in
statamcp stata-mcpv < 1.13.01.13.0
stata-mcpPyPIv < 1.13.01.13.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.