CVE-2025-63603 Details
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.
A command injection vulnerability has been identified in the MCP Data Science Server, specifically in version 0.1.6. The issue arises in the safe_eval() function, where user-supplied scripts are executed using Python's exec() function. The vulnerability is due to the absence of restrictions on the __builtins__ dictionary, which, when left undefined, grants access to all built-in functions, including __import__, exec, eval, and open. This oversight allows attackers to execute arbitrary Python code with full system privileges, potentially leading to a complete system compromise. Exploitation can be achieved by submitting a malicious script through the run_script tool, without the need for authentication or special privileges.
To address this vulnerability, the safe_eval() function should be modified to include a restricted __builtins__ dictionary in the globals parameter, explicitly defining only the necessary functions. Additionally, input validation should be implemented to ensure that user-supplied scripts do not contain malicious payloads.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/reading-plus-ai/mcp-server-data-exploration/issues/12 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| mcp server for data exploration project mcp server for data exploration | 0.1.6 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 2, 2026 | Initial Analysis | [email protected] |
| Nov 18, 2025 | CVE Modified | CISA-ADP |
| Nov 18, 2025 | New CVE Received | [email protected] |