All vulnerabilities

Go

CVE-2026-126776

SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch

Severity
Medium 6.0
Published
11 Nov 2026
Last changed
12 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.8.10
Exploit chance
0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/siyuan-note/siyuan/kernelGo · osv:Go:github.com/siyuan-note/siyuan/kernel
  • From 3.7.0 before 3.8.10

About github.com/siyuan-note/siyuan/kernel

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-126776