CVE-2026-126776
JSON

6.0medium

SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch

Severity
6.0medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
siyuan-note siyuanfrom 3.7.0 before 3.8.10
Not affected: 3.8.10
CVE List

All scores

VulnCheck6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126776 changed 2026-11-12CVE Terms of Use
NVDCVE-2026-126776 changed 2026-11-12Public domain