# CVE-2026-126776: SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-11-11T18:41:08.401Z
- Modified: 2026-11-12T18:17:27.487Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: from 3.7.0 before 3.8.10 (not affected: 3.8.10)

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hq2c-hh95-vrr6> (vendor-advisory)
- <https://github.com/siyuan-note/siyuan/commit/94d6a42a0362c0a6938a29ab84addb1fe0aca21c> (patch)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.8.10> (release-notes)
- <https://github.com/siyuan-note/siyuan/blob/v3.7.0/kernel/util/webfetch.go#L155> (technical-description)
- <https://www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.10-path-traversal-file-write-via-mcp-web-fetch> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126776](https://www.cve.org/CVERecord?id=CVE-2026-126776), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-126776](https://nvd.nist.gov/vuln/detail/CVE-2026-126776), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-126776 · Whole record: https://cve.day/CVE-2026-126776.json · Rebuilt by cve.day 2026-11-25T22:59:50.405Z
