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

High 7.1 Published Updated

An authenticated attacker can bypass path traversal protections via double URL encoding to read arbitrary workspace files, including the database and user documents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-41894?

CVE-2026-41894 is a high-severity path traversal vulnerability in siyuan-note siyuan, published on 24 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2026-41894?

3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel.

PackageAffectedFixed in
github.com/siyuan-note/siyuan/kernel GoAll versionsNone
github.com/siyuan-note/siyuan/kernel GoAll versions3.6.5
github.com/siyuan-note/siyuan/kernel GoAll versions3.6.5

How do I fix CVE-2026-41894?

Upgrade github.com/siyuan-note/siyuan/kernel to 3.6.5 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-41894 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41894 exists.

Sources

Also known as GHSA-hjh7-r5w8-5872, GO-2026-5429.

Is CVE-2026-41894 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free