Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted code to MCP server
-
ExploitBypass escapeShellString/sanitizeCode filters
-
ExecutionInject shell commands
-
ImpactExecute arbitrary code on host
Vulnerability Assessment
| Exploitation Conditions | Requires the vulnerable @justice8096/sagemath-mcp-server version 1.0.1 to be deployed and to process attacker-supplied code/input that is routed through the sanitization path. Exploitation depends on user or agent interaction (UI:R) to pass the malicious input to the tool and on a payload specifically crafted to bypass the escapeShellString and sanitizeCode functions (AC:H). Limiting factors that reduce realistic risk: mandatory user interaction, high attack complexity, and the product's very small install base; the trigger beyond 'insufficient sanitization in escapeShellString/sanitizeCode' is not further detailed in the available sources. |
| Impact | Signals are mixed and lean toward moderate real-world priority despite the 7.5 (High) base score. The CVSS vector supplied by MITRE shows AV:N and PR:N (remote, no authentication) but is tempered by AC:H (a payload must be crafted to defeat the escapeShellString and sanitizeCode filters) and UI:R (an operator or agent must route the malicious input through the tool), which materially lowers the score from what an AV:N/AC:L/UI:N RCE would carry. No EPSS score is provided in the input, so exploitation probability cannot be quantified. The vulnerability is NOT in CISA KEV and there is no confirmed active exploitation - only a vuln.today 'this_week' decision label. A GitHub issue reference is present but is not verified as working exploit code, so POC status is best treated as a public PoC reference rather than confirmed exploit code. The dominant risk-reducing factor is prevalence: this is an obscure single-author npm MCP server with a negligible install base, so even full RCE represents a narrow, opportunistic exposure rather than a widespread threat. Net: a legitimately high-severity code-execution flaw on affected hosts, but low aggregate risk due to tiny footprint, required user interaction, and high attack complexity. |
| Exploit ScenarioDerived | An attacker crafts SageMath code or input containing shell metacharacters designed to slip past the escapeShellString and sanitizeCode routines; when the MCP server (driven by an operator or LLM agent) processes that input, the injected commands execute on the host with the server's privileges. A GitHub issue reference exists describing the flaw but is not verified as working exploit code, and success requires both user interaction (UI:R) and a payload tailored to evade the filters (AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 23, 2026
Command injection in @justice8096/sagemath-mcp-server 1.0.1 allows remote attackers to execute arbitrary code because the escapeShellString and sanitizeCode routines fail to adequately neutralize attacker-supplied input before it reaches shell execution. Only version 1.0.1 is identified as affected, and exploitation requires the package to be deployed and to process malicious input that a user or agent must route into the sanitization path (UI:R), with a payload specifically crafted to bypass both functions (AC:H). No CISA KEV entry or confirmed working exploit code was reported; a public issue reference exists, and the product's very small install base limits realistic exposure.
RemediationAI
No vendor-released fixed version is identified in the available data; the only public vendor signal is issue 1 at https://github.com/justice8096/sagemath-mcp-server/issues/1, which should be monitored for a patched release, and users should verify the current npm version before upgrading. Until a fix is published, the practical mitigations are to remove or disable the @justice8096/sagemath-mcp-server 1.0.1 MCP server from agent and client configurations, with the trade-off that SageMath tooling becomes unavailable to those agents, or to restrict it to trusted, non-privileged environments with no access to sensitive files or credentials, accepting residual risk since the sanitization bypass remains reachable. Because exploitation requires user or agent interaction to route crafted input into escapeShellString and sanitizeCode, limiting which clients and prompts can invoke the server reduces exposure, at the cost of narrower functionality. Reviewing the advisory at https://stillosdigitalholdings.com/advisories/CVE-2026-106763.cve.json for updates is advisable.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is an npm-published Model Context Protocol server (@justice8096/sagemath-mcp-server) that exposes SageMath functionality to MCP clients, meaning it sits between an AI agent or user and local command execution. The root cause class is insufficient neutralization of special elements used in an OS command (command injection): the escapeShellString and sanitizeCode helpers are intended to make attacker-influenced strings safe before they are passed to a shell, but they can be bypassed, allowing injected commands to run with the privilege of the server process. The CPE data supplied is a placeholder (n/a:n/a), so the only confirmed affected artifact is the npm package at version 1.0.1; no CWE was assigned. The precise trigger beyond the inadequate sanitization in those two functions is not described in the available sources, and the high attack complexity and required user interaction reflect the need to deliver a payload crafted to defeat both filters rather than any documented race or timing condition.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Remote and unauthenticated (AV:N/PR:N) but needs a filter-evading payload (AC:H) and an operator/agent to pass the input (UI:R); successful injection yields full host code execution (C/I/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An issue in @justice8096/sagemath-mcp-server 1.0.1 allows a remote attacker to execute arbitrary code via the escapeShellString and sanitizeCode functions.
Executive ViewAI
A command injection vulnerability in the @justice8096/sagemath-mcp-server package version 1.0.1 could allow remote code execution if malicious input is processed through the package's sanitization routines. While the package has a very small install base, any deployment in your environment could be compromised, potentially enabling attackers to execute arbitrary commands on the host system. Leadership should care because this could lead to data breaches or system compromise, though the narrow exposure limits organizational risk.
No vendor-released patch identified at time of analysis; restrict access to the package's interface, enforce strict input validation, and monitor for anomalous command execution attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-109096
GHSA-2vq3-mpmf-9xgr
NVD
CVE.org
EPSS
Exploit-DB