CVE-2026-126776
published medium CVSS 4.0 · 6.0SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan3.7.0 to < 3.8.10 (affected · semver) · 3.8.10 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| siyuan-note | siyuan | 3.7.0 to < 3.8.10 (affected · semver)3.8.10 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/siyuan-note/siyuan/blob/v3.7.0/kernel/util/webfetch.go#L155
- https://github.com/siyuan-note/siyuan/commit/94d6a42a0362c0a6938a29ab84addb1fe0aca21c
- siyuan v3.8.10 Release Notes https://github.com/siyuan-note/siyuan/releases/tag/v3.8.10
- GitHub Security Advisory (GHSA-hq2c-hh95-vrr6) https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hq2c-hh95-vrr6
- VulnCheck Advisory: SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch https://www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.10-path-traversal-file-write-via-mcp-web-fetch
Provider assertions
2VulnCheck · cna
SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 14779f45fa09a714b201421a1dd2d59512ee3fe696848a45e96223268a507df2
- Ingested
- 12 Nov 2026, 18:03:24 UTC
- Source record
- Official CVE record