SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch
CVE-2026-126776Published 11 Nov 2026, 18:41 UTC
Real-world risk
1.9/ 10Low
Routine
If the vulnerable configuration applies to you: 4.2
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| siyuanCommon | >= 3.7.0, < 3.8.10 | 3.8.10 |
What to do
Update to a fixed version: 3.8.10.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 34), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.315
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.315 × threat 0.851.874
- Rounded to one decimal between 0.1 and 101.9
Exploitation and evidence timeline
- 11 Nov 2026 Published
- 3 Dec 2026 Risk 1.9 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hq2c-hh95-vrr6vendor-advisory
- https://github.com/siyuan-note/siyuan/commit/94d6a42a0362c0a6938a29ab84addb1fe0aca21cpatch
- https://github.com/siyuan-note/siyuan/releases/tag/v3.8.10release-notes
- https://github.com/siyuan-note/siyuan/blob/v3.7.0/kernel/util/webfetch.go#L155technical-description
- https://www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.10-path-traversal-file-write-via-mcp-web-fetchthird-party-advisory
- CVE-2026-126776 on CVE.org