Impact
The vulnerability resides in the @justice8096/sagemath-mcp-server package version 1.0.1. Exploitation of the escapeShellString and sanitizeCode functions allows an attacker to inject and execute arbitrary code on the host system. This type of weakness falls under improper code generation and results in a full compromise of confidentiality, integrity, and availability for the affected system.
Affected Systems
The affected product is @justice8096/sagemath-mcp-server, version 1.0.1, used within SageMath deployments. No additional vendor or product details are available.
Risk and Exploitability
With a CVSS score of 7.5 the vulnerability is classified as high risk. The EPSS score is not published, and the issue is not listed in CISA's KEV catalog, indicating no known widespread exploitation at this time. The description explicitly states that the code execution can be performed by a remote attacker, suggesting that the attack vector is network‑borne and does not require local access.
OpenCVE Enrichment
Github GHSA