CVE-2026-41894
HIGH 7.1CVSS 4.0SiYuan: Path Traversal via Double URL Encoding in `/export/` Endpoint (Incomplete Fix Bypass for CVE-2026-30869)
SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding (%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database (siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5.
- Published
- 24 Apr 2026
- Last modified
- 25 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-hjh7-r5w8-5872GO-2026-5429
- Sources
- NVDJSONOSV GHSA-hjh7-r5w8-5872JSONOSV GO-2026-5429JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/siyuan-note/siyuan/kernel | < 3.6.5 | 3.6.5 |
| OSV | Go | github.com/siyuan-note/siyuan/kernel | all versions |
References
- https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7 · WEB
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.5 · WEB
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hjh7-r5w8-5872 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-41894 · ADVISORY
- https://github.com/advisories/GHSA-2h2p-mvfx-868w · ADVISORY, WEB
- https://github.com/siyuan-note/siyuan · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Apr 2026)