HIGH 7.8 GitHub
CVE-2026-59176
functype-mcp-server: MCP `set_functype_version` Package Alias RCE via Unsanitized pnpm install + Dynamic Import
## MCP `set_functype_version` Package Alias RCE via Unsanitized pnpm install + Dynamic Import
### Summary
The `set_functype_version` MCP tool in `functype-mcp-server` accepts an unconstrained `version` string, interpolates it directly into an npm package specifier (`functype@<version>`), and installs it via `pnpm add` without any validation. Because npm/pnpm package specifiers support `file:`, `npm:`, and other alias syntaxes, an attacker who can send an MCP `tools/call` request to this tool c
Affected Products
- npm/functype-mcp-server <= 1.4.3
References
- https://github.com/advisories/GHSA-wcjj-9m6g-2fr2
- https://github.com/jordanburke/functype/security/advisories/GHSA-wcjj-9m6g-2fr2
- https://github.com/jordanburke/functype/commit/c0d58ad9c2a7d15c6117bd3adbbd75de37317dcf
- https://github.com/advisories/GHSA-wcjj-9m6g-2fr2
This high severity vulnerability with a CVSS score of 7.8 was published on 2026-09-09 via GitHub. Affected: npm/functype-mcp-server <= 1.4.3.
vulnfeed aggregates 13138 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.