原始描述
SiYuan 3.7.0 before 3.8.10 on Windows contains a path traversal vulnerability in kernel/util/webfetch.go that allows attackers to write files outside the import directory via backslash-encoded filenames. Attackers controlling a URL fetched by the MCP web_fetch or http_request tools can use %5C-encoded ..\ sequences to write chosen response bytes to directories above temp/import that are writable by the SiYuan user.
受影响的软件
- SiYuan ≥ 3.7.0 < 3.8.10 修复版本: 3.8.10 仓库或软件包匹配
详情
- 发布日期
- 2026-11-12
- 最后修改
- 2026-11-13
- CVSS 向量
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-22
- EPSS(30 天内被利用概率)
- 0.35% (百分位 29)
参考资料
- cve.org/CVE-2026-126776
- nvd.nist.gov/vuln/detail/CVE-2026-126776
- github.com/siyuan-note/siyuan/security/advisories/GHSA-hq2c-hh95-vrr6
- github.com/siyuan-note/siyuan/commit/94d6a42a0362c0a6938a29ab84addb1fe0aca21c
- github.com/siyuan-note/siyuan/releases/tag/v3.8.10
- github.com/siyuan-note/siyuan/blob/v3.7.0/kernel/util/webfetch.go#L155
- www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.10-path-traversal-file-write-via-mcp-...
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。