CVE-2026-23850 SiYuan vulnerable to arbitrary file read
An attacker can read arbitrary files from the server via unrestricted HTML rendering in the markdown feature of SiYuan.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-23850?
CVE-2026-23850 is a high-severity path traversal vulnerability in B3log Siyuan, published on 19 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SiYuan is a personal knowledge management system. In versions prior to 3.5.4, the markdown feature allows unrestricted server side html-rendering which allows arbitrary file read (LFD). Version 3.5.4 fixes the issue.
Weakness: CWE-22
Which versions are affected by CVE-2026-23850?
3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/siyuan-note/siyuan/kernel Go | All versions | 0.0.0-20260118092326-b2274baba2e1 |
github.com/siyuan-note/siyuan/kernel Go | All versions | 0.0.0-20260118092326-b2274baba2e1 |
github.com/siyuan-note/siyuan/kernel Go | All versions | 0.0.0-20260118092326-b2274baba2e1 |
Products include B3log Siyuan.
How do I fix CVE-2026-23850?
Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260118092326-b2274baba2e1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-23850 being exploited?
There is no known exploitation of CVE-2026-23850 in the wild and no public exploit code.
Other vulnerabilities in B3log Siyuan
- CVE-2026-32938 SiYuan has an Arbitrary File Read in its Desktop Publish Service
- CVE-2026-33669 SiYuan has Arbitrary Document Reading within the Publishing Service
- CVE-2026-33670 SiYuan has directory traversal within its publishing service
- CVE-2026-32767 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
- CVE-2024-53504 SQL injection in n/a
Sources
Also known as GHSA-cv54-7wv7-qxcw, GO-2026-4347.