GHSA-hq2c-hh95-vrr6: SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch

Published Nov 11, 2026
·
Updated

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 webfetch or httprequest tools can use %5C-encoded ..\ sequences to write chosen response bytes to directories above temp/import that are writable by the SiYuan user.

Event History

Nov 11, 2026
CVE Published
via OSV·06:41 PM
Data Sourced
via OSV·06:41 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

The issue affects SiYuan versions from 3.7.0 before 3.8.10 on Windows. Exploitation requires use of the MCP web_fetch or http_request tools against an attacker-controlled URL.

2

What does an attacker need to exploit this?

An attacker must be able to control the content served by a URL that SiYuan fetches through MCP web_fetch or http_request. User interaction is required, as indicated by the advisory’s UI:P vector.

3

What is the practical impact?

The attacker can use backslash-encoded traversal sequences in a filename to write chosen response bytes outside the temporary import directory. Writes are limited to directories above temp/import that are writable by the SiYuan user.

4

What should be done if an update cannot be applied immediately?

Avoid fetching attacker-controlled or untrusted URLs with the MCP web_fetch and http_request tools. Restrict use of those tools to trusted URLs until updating to 3.8.10 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203