threatdeck
Live 14:45 UTC ·

AI Stack Alert High CVE-2026-59176 For AI Eng, AppSec, SOC / IR, CISO AI-assisted

CVE-2026-59176: functype-mcp-server set_functype_version tool allows arbitrary package install and code execution

Functype's functype-mcp-server prior to 1.4.4 passes the unvalidated version argument of the set_functype_version MCP tool into a pnpm add command. Package-alias values such as file:, npm:, URLs, or paths can install an arbitrary package, which is then dynamically imported and executed with the server's privileges. The tool is enabled by default without authentication in stdio mode; the issue is fixed in 1.4.4.

Why it matters

Any MCP client that can call the tool, including an AI assistant steered by indirect prompt injection, can run attacker-controlled JavaScript as the server process. In non-default httpStream deployments, a network attacker needs no local access.

Do this

  1. Upgrade functype-mcp-server to version 1.4.4 or later.
  2. Until patched, disable or remove the set_functype_version tool from MCP server configurations.
  3. If running TRANSPORT_TYPE=httpStream, restrict network access to the server and require authentication.
  4. Review logs and process activity for unexpected pnpm add invocations or unknown packages installed as functype.
  5. Treat AI assistants connected to this MCP server as able to trigger the tool through untrusted content, and limit their tool permissions accordingly.

Exploit Clock

Exploitation unlikely (for now)

  • EPSS 0.21%

Signals

  • NoCISA KEV
  • 7.8CVSS
  • 0.21%EPSS
  • NoPublic PoC
  • 36/100Priority
  • 80%Confidence

Evidence

“accepts an unconstrained `version` string using only `z.string()` validation”

NVD (AI keyword search)

“executing attacker-controlled JavaScript with the MCP server process's privileges”

NVD (AI keyword search)

“the tool is enabled by default without authentication in `stdio` mode”

NVD (AI keyword search)

“This issue is fixed in `version` 1.4.4.”

NVD (AI keyword search)

Sources

Affected / related

functype-mcp-server, functype, indirect prompt injection, Functype

Published 2026-10-28 14:17 UTC · updated 2026-11-08 02:37 UTC · AI-assisted summary, checked against quoted sources · How we score

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.