> CVE-2026-55071 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-09-21 15:17
MODIFIED
2026-09-21 15:17
CVSS_SCORE V3
8.4
EPSS (Prob. Exploit)
0.25%
Top 84.3%
DATA SOURCES:
NVD đź”— 2026-09-21 CWE MITRE đź”— 2026-10-01 FIRST EPSS đź”— 2026-10-21 GITHUB đź”— 2026-09-23 OSV đź”— 2026-10-19

> DESCRIPTION

MCP-for-Stata is a MCP server for integrating Stata into agent loops with a safety-first design. Prior to version 1.19.0, the ado_package_install MCP tool in stata-mcp concatenates user-controlled input directly into a Stata command string without any validation or sanitization. An attacker who can invoke the MCP tool or the equivalent Python API can embed newline characters in the package argument to inject arbitrary Stata commands. Because Stata supports a shell escape command, this leads to full OS-level arbitrary command execution (RCE) under the account running the Stata-MCP server. The tool is registered in the default all profile, so no non-default configuration is required. This issue has been patched in version 1.19.0.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EXPLOITABILITY
2.5
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-94

> CWE DETAILED DESCRIPTIONS

CWE-94: Improper Control of Generation of Code ('Code Injection') - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

> GITHUB SECURITY ADVISORY

GHSA-49m4-vp58-wgc9 HIGH

MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`

AFFECTED PACKAGES:
PIP / stata-mcp
< 1.19.0
Fixed in: 1.19.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`

AFFECTED PACKAGES:
Unknown / Unknown
93 versions affected
ALIASES:
GHSA-49m4-vp58-wgc9, PYSEC-2026-3700

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/09/2026 15:17
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-94: Improper Control of Generation of Code ('Code Injection') - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not n...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/SepineTam/mcp-for-stata/releases/tag/v1.19.0
https://github.com/SepineTam/mcp-for-stata/security/advisories/GHSA-49m4-vp58-wg...
https://github.com/SepineTam/mcp-for-stata/security/advisories/GHSA-49m4-vp58-wg...
« BACK_TO_HOME