Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-41894

CVE-2026-41894: SiYuan: Path Traversal via Double URL Encoding in `/export/` Endpoint (Incomplete Fix Bypass for CVE-2026-30869)

April 22, 2026 (updated April 27, 2026)

The fix for CVE-2026-30869 in SiYuan v3.5.10 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.

References

  • github.com/advisories/GHSA-2h2p-mvfx-868w
  • github.com/advisories/GHSA-hjh7-r5w8-5872
  • github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7
  • github.com/siyuan-note/siyuan/releases/tag/v3.6.5
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-hjh7-r5w8-5872
  • nvd.nist.gov/vuln/detail/CVE-2026-41894

Code Behaviors & Features

Detect and mitigate CVE-2026-41894 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.6.5

Fixed versions

  • 3.6.5

Solution

Upgrade to version 3.6.5 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-41894.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.