CVE-2025-63603

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.
References
Link Resource
https://github.com/reading-plus-ai/mcp-server-data-exploration/issues/12 Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:mcp_server_for_data_exploration_project:mcp_server_for_data_exploration:0.1.6:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-11-18 16:15

Updated : 2026-01-02 20:38


NVD link : CVE-2025-63603

Mitre link : CVE-2025-63603

CVE.ORG link : CVE-2025-63603


JSON object : View

Products Affected

mcp_server_for_data_exploration_project

  • mcp_server_for_data_exploration
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')