Ad

CVE-2026-100633

HIGH CVSS 4.0: 8,5 EPSS 0.40%
Обновлено 5 октября 2026
Siyuan
Параметр Значение
CVSS 8,5 (HIGH)
Уязвимые версии 3.8.0 — 3.8.4
Устранено в версии 3.8.4
Тип уязвимости CWE-863 (Неправильная авторизация)
Поставщик Siyuan
Публичный эксплойт Нет

SiYuan — это самостоятельная система управления личными знаниями. В версиях 3.8.0 - 3.8.3 защита чувствительного пути файлового инструмента MCP (util.IsForbiddenAbsPath(), вызываемая из resolvePath()) применяется только к разрешенному корню рекурсивных операций, а не к каждому разрешенному потомковому пути - неполное исправление для GHSA-c8r8-95hg-mp34. An authenticated administrator using the in-app Agent or the external MCP server can therefore bypass the protected-workspace-file denylist: file.grep can return matching lines from non-hidden protected descendants (for example conf/conf.json, TLS keys, data/snippets/conf.json, data/templates/, data/.siyuan/publishAccess.json, notebook .siyuan internals, or the kernel log), file.copy can copy protected descendants to an ordinary path where file.read can then retrieve them, and unzip can overwrite protected descendants using ordinary, lexically contained ZIP member names.

Поскольку file.grep глобально классифицируется как безопасное действие, он не получает подтверждения вызова, а карты подтверждения для file.copy и unzip показывают только разрешенные корневые аргументы. Эта проблема исправлена в версии 3.8.4. SiYuan 3.8.0 до 3.8.3 Sensitive-Path Guard Bypass в Recursive MCP File Operations.

Показать оригинальное описание (EN)

SiYuan is a self-hosted personal knowledge management system. In versions 3.8.0 through 3.8.3, the MCP file tool's sensitive-path guard (util.IsForbiddenAbsPath(), invoked from resolvePath()) is applied only to the allowed root of recursive operations and not to each resolved descendant path — an incomplete fix for GHSA-c8r8-95hg-mp34. An authenticated administrator using the in-app Agent or the external MCP server can therefore bypass the protected-workspace-file denylist: file.grep can return matching lines from non-hidden protected descendants (for example conf/conf.json, TLS keys, data/snippets/conf.json, data/templates/, data/.siyuan/publishAccess.json, notebook .siyuan internals, or the kernel log), file.copy can copy protected descendants to an ordinary path where file.read can then retrieve them, and unzip can overwrite protected descendants using ordinary, lexically contained ZIP member names. Because file.grep is globally classified as a safe action, it receives no per-call confirmation, and the confirmation cards for file.copy and unzip show only the allowed root arguments. This issue is fixed in version 3.8.4. Suggested title: SiYuan 3.8.0 through 3.8.3 Sensitive-Path Guard Bypass in Recursive MCP File Operations.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Условия для атаки
Не требуются
Нет дополнительных условий
Нужны права
Высокие
Нужны права администратора
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Нет
Нет нарушения работы

Строка CVSS v4.0

Уязвимые продукты 1

Конфигурация От (включительно) До (исключительно)
B3log Siyuan
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
3.8.0 3.8.4