CVE Hunter
›
CVE-2026-59176

CWE-829

HIGH CVSS 7.8 NVD

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.

Yayınlanma 28.10.2026
ISO Tarih 2026-10-28
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
7.8 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-829
İlgili CVE'ler
9.4
CVE-2026-127143
LMS (Lan Management System) is vulnerable to privilege escalation in the lmsd daemon. The daemon loads the li
7.8
CVE-2026-131959
GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. A crafted
0.0
CVE-2026-101892
LibreOffice documents in ODF format can contain form controls, such as buttons and text fields, and each contr
0.0
CVE-2026-104007
LibreOffice can connect to databases through JDBC drivers written in Java. A spreadsheet can use a database as
0.0
CVE-2026-104920
LibreOffice Calc can link a cell range to an external data source, and the link is saved in the document. A Ja
8.8
CVE-2026-118225
Inclusion of functionality from untrusted control sphere in Windows Advanced Rasterization Platform allows an