漏洞  ·  2026-10-25

sagemath-mcp-server arbitrary code execution via escapeShellString / sanitizeCode

漏洞Medium 影响GlobalCVE-2026-106763
CVE-2026-106763 (published 2026-10-23, NVD Deferred) is an arbitrary code execution issue in the sagemath-mcp-server package, triggered through the escapeShellString and sanitizeCode functions used to build shell/executable commands from agent-provided input.
It is an AI-relevant agentic-tool-surface RCE: a malicious or compromised prompt can escalate to code execution on the machine hosting the SageMath MCP server. Low blast radius because the package is niche and not widely deployed.
An LLM agent (or the remote caller driving it) supplies crafted arguments to the MCP server's math/code tools, which are passed through escapeShellString and sanitizeCode without sufficient validation, allowing arbitrary code execution on the host running the MCP server.
@justice8096/sagemath-mcp-server 1.0.1
No fixed release is documented; NVD status is Deferred. If deployed, avoid exposing the MCP server to untrusted prompts, run it with least-privilege credentials, and only connect agent hosts you fully trust.
NVD — CVE-2026-106763GitHub issue (upstream)
在实时动态中查看 浏览更多 AI 安全与治理相关发现 — 每日清晨更新。
打开动态 →