Read the docs

Path traversal in SiYuan lets attackers write files via MCP web_fetch

Priority LOW 27CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

SiYuan from 3.7.0 before 3.8.10 on Windows contains a path traversal flaw in kernel/util/webfetch.go that lets attackers write files outside the import directory through backslash-encoded filenames. An attacker who controls a URL fetched by the MCP web_fetch or http_request tools can write chosen response bytes to directories above temp/import that the SiYuan user can write to, with user interaction required. The flaw is classified as CWE-22.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00349 28th percentileScored 2026-11-16
Fix Fixed siyuan (siyuan-note): 3.8.10

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
siyuan-notesiyuan3.7.0 to before 3.8.103.8.10Patch availableCNA
  • siyuan Vendorsiyuan-note Affected 3.7.0 to before 3.8.10 Fixed in 3.8.10 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*——siyuan-note
  • cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* Versions — — ·siyuan-note

Remediation

Update SiYuan to version 3.8.10 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · CNA siyuan (siyuan-note) Fixed in 3.8.10

Timeline

  1. 2026-11-11 Threatist record created from CVE-2026-126776
  2. 2026-11-11 Alias added: GHSA-fgx6-mcm3-mrhr
  3. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2026-48492 SiYuan before v3.7.3 SQL Injection via searchDocs CVSS 4.0CRITICAL 9.9
  • TI-2026-48491 SiYuan before v3.7.3 SQL Injection via searchEmbedBlock CVSS 4.0CRITICAL 9.9
  • TI-2026-48490 SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent CVSS 4.0CRITICAL 9.9
  • TI-2026-47010 SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP CVSS 4.0CRITICAL 10.0
  • TI-2026-26050 SiYuan has directory traversal within its publishing service CVSS 3.1CRITICAL 9.8
  • TI-2026-25256 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API CVSS 3.1CRITICAL 9.8
See all 251 →

Sources