All reports
High

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

Affected versions

Version ranges need review.

Affected versions
<1.13.0 || =0.1.0 || =1.10.0 || =1.10.1 || =1.10.2 || =1.11.0 || =1.11.1 || =1.12.0 || =1.12.1 || =1.3.10 || =1.3.2 || =1.3.3 || =1.3.4 || =1.3.5 || =1.3.6 || =1.3.7 || =1.3.8 || =1.4.0 || =1.4.1 || =1.5.1 || =1.5.2 || =1.5.3 || =1.6.0 || =1.6.1 || =1.6.2 || =1.6.3 || =1.7.0 || =1.7.1 || =1.7.2 || =1.7.3 || =1.7.4 || =1.8.0 || =1.8.1 || =1.8.2 || =1.9.0 || =1.9.1
Fixed version
1.13.0
Affected versions
< 1.13.0
Fixed version
1.13.0

Exploitation

CVE-2026-31040

Probability of exploitation in the next 30 days: 0.57%

FIRST EPSS · 2026-11-24

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.

Links