IT SBIT Services
Schneeberger
DEEN
CVE tracker

SiYuan: Path traversal in MCP web_fetch allows arbitrary file write

CVE-2026-126776Medium 6.0

← All vulnerabilities

Summary

SiYuan on Windows contains a path traversal flaw in its web fetch code, which backs the MCP web_fetch and http_request tools. An attacker who controls a URL fetched by these tools can use percent-encoded dot-dot-backslash sequences in the filename to write chosen response bytes to directories above the import folder. The write succeeds only where the SiYuan user has write permission, and the CVSS vector scores integrity impact only and requires user interaction.

Affected

  • SiYuan 3.7.0 up to but not including 3.8.10, Windows only.
  • VulDB also lists 3.8.9 as affected; this conflicts with the vendor's fix version and is unverified.

Fixed in

  • Upgrade to SiYuan 3.8.10 or later.

Workaround

  • Unknown. No vendor workaround is documented.
  • Interim measure (own recommendation): disable the AI agent or MCP web-fetch features where they are not needed.

Exploitation

  • VulDB states that no exploit exists.
  • No public proof of concept or in-the-wild exploitation found. CISA KEV status not checked.

Our recommendation

  • Upgrade Windows installations of SiYuan to 3.8.10 in the next regular update cycle.
  • Prioritise systems where the AI agent or MCP web-fetch tools are enabled.
  • Disable these tools where they are not required.
  • Review the import directory and the SiYuan user's write permissions for unexpected files.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 20:42.

Original description (NVD)

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.

NVD references (5)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.