CVE-2026-23850 SiYuan vulnerable to arbitrary file read

High 7.8 Published Updated

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.

PackageAffectedFixed in
github.com/siyuan-note/siyuan/kernel GoAll versions0.0.0-20260118092326-b2274baba2e1
github.com/siyuan-note/siyuan/kernel GoAll versions0.0.0-20260118092326-b2274baba2e1
github.com/siyuan-note/siyuan/kernel GoAll versions0.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.

All B3log Siyuan vulnerabilities

Sources

Also known as GHSA-cv54-7wv7-qxcw, GO-2026-4347.

Is CVE-2026-23850 in your software?

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

Check your SBOMs for free