SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch

State
Published
Severity
6.0 Medium
Published
Nov 11, 2026
Updated
Nov 12, 2026
Reserved
Nov 11, 2026

Read the record on cve.org

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.

ProductVersions
siyuan siyuan-note3.7.0 to before 3.8.10 Affected3.8.10 Not Affected

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.