Technical impact
The vulnerability is a path traversal flaw in SiYuan’s webfetch module that allows an attacker who controls the URL fetched by the MCP web_fetch or http_request tools to write arbitrary files outside the intended import directory. By encoding backslashes and using \\%5C sequences to craft \\..\ paths, the attacker can place chosen response bytes into directories above \\temp\\import that are writable by the SiYuan user, potentially modifying configuration files or installing malicious executables.
Affected Systems
SiYuan Note version 3.7.0 through 3.8.9 on Windows are known to be affected by this flaw. The issue is present in releases prior to 3.8.10 and pertains to the Windows build of the application.
Risk and Exploitability
The CVSS score of 6 indicates moderate severity, while an EPSS score of less than 1% shows exploitation is unlikely at present and the vulnerability is not listed in the CISA KEV catalog. The attack requires the adversary to supply a URL that SiYuan will fetch, meaning a network or local actor can trigger the file write by directing the application to retrieve a crafted resource. Though the flaw does not provide direct code execution, the ability to place arbitrary files in writable directories could lead to privilege escalation or persistence if the application processes those files later.