{"id":"CVE-2026-126776","aliases":["CVE-2026-126776"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-11T18:41:08.401Z","modified":"2026-11-12T18:17:27.487Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"3.7.0","fixed":"3.8.10","status":"affected"},{"type":"semver","version":"3.8.10","status":"unaffected"}],"vendor":"siyuan-note","product":"siyuan","repo":"https://github.com/siyuan-note/siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hq2c-hh95-vrr6","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/94d6a42a0362c0a6938a29ab84addb1fe0aca21c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.8.10","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/blob/v3.7.0/kernel/util/webfetch.go#L155","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.10-path-traversal-file-write-via-mcp-web-fetch","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zachariah Mithani (AploSec)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-12T16:27:21.484Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126776","url":"https://www.cve.org/CVERecord?id=CVE-2026-126776","licence":"CVE Terms of Use","modified":"2026-11-12T17:55:58.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126776","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126776","licence":"Public domain","modified":"2026-11-12T18:17:27.487Z"}],"updatedAt":"2026-11-25T22:59:50.405Z","epss":{"score":0.00383,"percentile":0.34504,"date":"2026-12-01T12:00:22.000Z"}}