Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31040: n/a

0
Critical
VulnerabilityCVE-2026-31040cvecve-2026-31040
Published: Wed Apr 08 2026 (04/08/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

CVE-2026-31040 is a critical vulnerability in stata-mcp prior to version 1. 13. 0 where insufficient validation of user-supplied Stata do-file content can lead to command execution. This allows an attacker to execute arbitrary commands without requiring user interaction or privileges. The vulnerability has a high CVSS score of 9. 8, indicating severe impact on confidentiality, integrity, and availability. No official patch or remediation guidance is currently provided. There are no known exploits in the wild at this time.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 12:11:23 UTC

Technical Analysis

This vulnerability (CVE-2026-31040) affects stata-mcp versions before 1.13.0. It arises from improper validation of user-supplied Stata do-file content, which can be crafted to execute arbitrary commands on the affected system. The CVSS 3.1 base score is 9.8, reflecting network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. The CWE classification is CWE-94 (Improper Control of Generation of Code). No patch or official remediation level has been disclosed yet.

Potential Impact

Successful exploitation of this vulnerability can lead to full compromise of the affected system by allowing remote attackers to execute arbitrary commands. This impacts confidentiality, integrity, and availability of the system. Given the critical CVSS score, the vulnerability poses a severe risk if exploited.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid processing untrusted Stata do-files with vulnerable versions of stata-mcp. Monitor vendor communications for updates on patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69d672521cc7ad14da85d643

Added to database: 4/8/2026, 3:20:50 PM

Last enriched: 4/16/2026, 12:11:23 PM

Last updated: 5/25/2026, 12:20:18 PM

Views: 54

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses