6.5medium
A command injection vulnerability exists in the MCP Data Science Server's (reading-plus-ai/mcp-server-data-exploration) 0.1.6 in the safeev…
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
A command injection vulnerability exists in the MCP Data Science Server's (reading-plus-ai/mcp-server-data-exploration) 0.1.6 in the safe_eval() function (src/mcp_server_ds/server.py:108). The function uses Python's exec() to execute user-supplied scripts but fails to restrict the __builtins__ dictionary in the globals parameter. When __builtins__ is not explicitly defined, Python automatically provides access to all built-in functions including __import__, exec, eval, and open. This allows an attacker to execute arbitrary Python code with full system privileges, leading to complete system compromise. The vulnerability can be exploited by submitting a malicious script to the run_script tool, requiring no authentication or special privileges.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mcp_server_for_data_exploration_project mcp_server_for_data_exploration | 0.1.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
A command injection vulnerability exists in the MCP Data Science Server's (reading-plus-ai/mcp-server-data-exploration) 0.1.6 in the safe_eval() function (src/mcp_server_ds/server.py:108). The function uses Python's exec() to execute user-supplied scripts but fails to restrict the __builtins__ dictionary in the globals parameter. When __builtins__ is not explicitly defined, Python automatically provides access to all built-in functions including __import__, exec, eval, and open. This allows an attacker to execute arbitrary Python code with full system privileges, leading to complete system compromise. The vulnerability can be exploited by submitting a malicious script to the run_script tool, requiring no authentication or special privileges.
NVD (es)
Una vulnerabilidad de inyección de comandos existe en la versión 0.1.6 del servidor MCP Data Science (reading-plus-ai/mcp-server-data-exploration) en la función safe_eval() (src/mcp_server_ds/server.py:108). La función utiliza exec() de Python para ejecutar scripts proporcionados por el usuario, pero no restringe el diccionario __builtins__ en el parámetro globals. Cuando __builtins__ no se define explícitamente, Python proporciona automáticamente acceso a todas las funciones integradas, incluyendo __import__, exec, eval y open. Esto permite a un atacante ejecutar código Python arbitrario con privilegios de sistema completos, lo que lleva a un compromiso completo del sistema. La vulnerabilidad puede ser explotada enviando un script malicioso a la herramienta run_script, sin requerir autenticación ni privilegios especiales.
References
| https://github.com/reading-plus-ai/mcp-server-data-exploration/issues/12 | exploit, issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-63603 changed 2025-11-18 | CVE Terms of Use |
| NVD | CVE-2025-63603 changed 2026-11-07 | Public domain |