SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch
- CVE-2026-126776
- GHSA-fgx6-mcm3-mrhr
- EUVD-2026-123770
Description
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.
Text from the CVE.org record.
Recommendation
siyuan-note siyuan
- If you run a version from 3.7.0 to before 3.8.10update to 3.8.10 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
siyuan-note siyuan
Affected versions Fixed in from 3.7.0 to before 3.8.10 3.8.10
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.