Vulnary
← back to the feed
Critical· 9.8official fix available

CVE-2026-31040

A vulnerability in stata-mcp versions prior to v1.13.0 allows attackers to execute arbitrary commands by supplying malicious Stata do-file content due to insufficient validation. The flaw is rated critical with a CVSS base score of 9.8. No known exploitation or public exploit has been reported.

publishedApr 8, 2026
last modifiedJul 25, 2026
sourcesNVD
severity · cvss
9.8
critical · how bad it is
exploitation · epss
<1%
43th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 25, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

statamcp stata-mcp

02

Real-world impact

An attacker could run arbitrary commands on systems running vulnerable stata-mcp, potentially leading to full compromise.

03

Why this severity

CVSS 9.8 reflects network‑accessible, low‑complexity attack requiring no privileges or user interaction, with high impact on confidentiality, integrity, and availability.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade stata-mcp to version v1.13.0 or later.

NVD-referenced vendor advisory

05

Timeline

  1. Apr 8, 2026 · Apr 8, 2026
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 25, 2026 · 11d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 26, 2026 · 10d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →