# GHSA-2VQ3-MPMF-9XGR: @justice8096/sagemath-mcp-server: executes arbitrary code via the escapeShellString and sanitizeCode functions

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-10-23
- Modified: 2026-10-29

## Tracked as

- [CVE-2026-106763](https://cve.now/CVE-2026-106763.md): An issue in @justice8096/sagemath-mcp-server 1.0.1 allows a remote attacker to execute arbitrary code via the escapeShellString and sanitizeCode functions

## Affected versions

- @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.

## References

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

Page: https://cve.now/GHSA-2VQ3-MPMF-9XGR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
