PULSE
FEED
← Todos os CVEs
CVE Watch3 de nov. de 2026

CVE-2026-59176

Functype is a family of TypeScript functional programming libraries. Prior to 1.4.4, the `set_functype_version` MCP tool in `functype-mcp-se

CVSS

7.8

Alta

EPSS

0.2%

p11

KEV

—

Exploit Today

3

0-100

Publicado: 28 de out. de 2026 · Última mod.: 3 de nov. de 2026 · CWE-829

EPSS · 30d
0.2%EPSS · 30 dias0.2%
2026-10-292026-11-07
Descrição técnica

Functype is a family of TypeScript functional programming libraries. Prior to 1.4.4, the `set_functype_version` MCP tool in `functype-mcp-server` accepts an unconstrained `version` string using only `z.string()` validation in `packages/mcp-server/src/index.ts` and interpolates it into `functype@<version>` for `pnpm add`. Package-alias syntaxes such as `file:`, `npm:`, URLs, or paths can cause an arbitrary local or remote package to be installed as functype. Immediately afterward, `initDocsData(true)` in `packages/mcp-server/src/lib/docs/data.ts` resolves `functype/cli` and dynamically imports the newly installed module, executing attacker-controlled JavaScript with the MCP server process's privileges. Any MCP client able to send a `tools/call` request invoking the tool can exploit the flaw; the tool is enabled by default without authentication in `stdio` mode. A connected AI assistant susceptible to indirect prompt injection can also be induced to invoke it from a malicious document or web page. In non-default `TRANSPORT_TYPE=httpStream` deployments, a network-accessible attacker does not require local access. Successful execution can read process secrets, modify files, or terminate the server. This issue is fixed in `version` 1.4.4.

Referências oficiais
CVEs relacionados
CVECVSSEPSSKEVRExploitTítuloMod.
CVE-2026-1238584.4 MÉD
4.0%
——1In JetBrains PhpStorm before 2026.3 project files could be automatically uploaded to a deployment server from untrusted projects2d
CVE-2026-1238545.5 MÉD
6.3%
——2In JetBrains PyCharm before 2026.3 code execution was possible in Safe Mode via a crafted Jupyter notebook widget module10h
CVE-2026-1238537.8 ALT
6.8%
——2In JetBrains IntelliJ IDEA before 2026.3, 2026.2.2 code execution was possible in Safe Mode via project-controlled JVM options of the build process1d
CVE-2026-1238497.0 ALT
3.8%
——1In JetBrains IntelliJ IDEA before 2026.3 code execution was possible in untrusted projects via the Terraform File Watchers1d
CVE-2026-1238433.3 BAI
3.9%
——1In JetBrains IntelliJ IDEA before 2026.3 untrusted projects could trigger changes to GPG agent configuration2d
CVE-2026-1238387.8 ALT
6.8%
——2In JetBrains IntelliJ IDEA before 2026.3 code execution was possible in Safe Mode via UI Designer form file1d