Technical impact
SiYuan versions earlier than 3.8.7 allow an authenticated user to influence the MCP asset upload process. The validateAssetUploadPaths function lacks a comprehensive blacklist, permitting uploads of sensitive files such as .env. Once uploaded, these files can be accessed through the public /assets/ HTTP path, exposing local file contents and compromising confidentiality.
Affected Systems
The affected product is SiYuan, specifically all releases prior to 3.8.7. Users running any older version risk unauthorized read access to local secrets and other files through the MCP asset upload interface.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. EPSS information is not available, and the vulnerability is not listed in CISA KEV, suggesting limited known exploitation. The attack requires authentication to use the MCP asset upload feature; an attacker can then upload a crafted file path to read arbitrary local files via the exposed HTTP endpoint.