CVE-2026-31040

Published Apr 8, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jpcj-7wfg-mqxv stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Command Injection via Unvalidated Stata Do‑File in stata‑mcp
Type Values Removed Values Added
First Time appeared Statamcp
Statamcp stata-mcp
CPEs cpe:2.3:a:statamcp:stata-mcp:*:*:*:*:*:*:*:*
Vendors & Products Statamcp
Statamcp stata-mcp
Type Values Removed Values Added
Title Command Injection via Unvalidated Stata Do‑File in stata‑mcp
Type Values Removed Values Added
Title Command Execution via Unvalidated Stata Do‑File Content in stata-mcp
Weaknesses CWE-78
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Sepinetam
Sepinetam stata-mcp
Vendors & Products Sepinetam
Sepinetam stata-mcp
Type Values Removed Values Added
Title Command Execution via Unvalidated Stata Do‑File Content in stata-mcp
Weaknesses CWE-78
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 9, 2026, 8:19 PM
Reserved
Mar 9, 2026, 12:00 AM
Status
Analyzed
Published
Apr 8, 2026, 4:16 PM
Modified
Jul 25, 2026, 10:10 AM