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…
EPSS 0.5%top 57%

CVE-2026-47708: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in SepineTam stata-mcp

0
Critical
VulnerabilityCVE-2026-47708cvecve-2026-47708cwe-77
Published: 07/21/2026 (07/21/2026, 20:55:15 UTC)
Source: CVE Database V5
Vendor/Project: SepineTam
Product: stata-mcp

Description

CVE-2026-47708 is a critical command injection vulnerability in SepineTam's MCP-for-Stata (stata-mcp) prior to version 1.17.3. The vulnerability arises because the log_file_name parameter in the stata_do API and CLI is directly interpolated into Stata command strings without proper sanitization. This allows an attacker to inject arbitrary Stata commands, including potentially dangerous commands like shell or python execution, by crafting malicious input containing special characters. The issue is patched in version 1.17.3.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
sepinetam/mcp-for-stata
pkg:github/sepinetam/mcp-for-stata
Affected versions
<1.17.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 07:52:43 UTC

Technical Analysis

The vulnerability CVE-2026-47708 in SepineTam's stata-mcp product is due to improper neutralization of special elements in the log_file_name parameter used in the stata_do API and CLI. Prior to version 1.17.3, this parameter is directly embedded into Stata command strings without sanitization, while the GuardValidator only scans do-file content and does not validate this parameter. This flaw enables attackers to inject arbitrary Stata commands, including shell and python commands, by exploiting special characters such as quotes, newlines, or command separators in the log_file_name. The vulnerability is fixed in version 1.17.3.

Potential Impact

Successful exploitation allows unauthenticated attackers to execute arbitrary Stata commands remotely, potentially leading to full command execution on the host system. This can result in complete compromise of the affected system, including data loss, system manipulation, or further attacks. The CVSS 4.0 base score is 9.3, indicating critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A patch is available in SepineTam stata-mcp version 1.17.3 that addresses this vulnerability by properly sanitizing the log_file_name parameter. Users should upgrade to version 1.17.3 or later to remediate this issue. No vendor advisory content is provided, but the version information clearly indicates the fix. Until upgrading, avoid exposing the vulnerable API or CLI to untrusted users.

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
GitHub_M
Date Reserved
2026-05-19T21:29:25.481Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5fdfa79c2644c7f8c1b061

Added to database: 07/21/2026, 21:07:51 UTC

Last enriched: 07/30/2026, 07:52:43 UTC

Last updated: 09/02/2026, 22:52:12 UTC

Views: 49

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