CVE-2026-30869 SiYuan has a Path Traversal in /export Endpoint Allows Arbitrary File Read and Secret Leakage

Critical 9.3 Published Updated

Attackers can read arbitrary files via path traversal in the export endpoint, leaking secrets that may lead to administrative access or remote code execution.

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-30869?

CVE-2026-30869 is a critical path traversal vulnerability in B3log Siyuan, published on 9 Mar 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. Prior to 3.5.10, a path traversal vulnerability in the /export endpoint allows an attacker to read arbitrary files from the server filesystem. By exploiting double‑encoded traversal sequences, an attacker can access sensitive files such as conf/conf.json, which contains secrets including the API token, cookie signing key, and workspace access authentication code. Leaking these secrets may enable administrative access to the SiYuan kernel API, and in certain deployment scenarios could potentially be chained into remote code execution (RCE). This vulnerability is fixed in 3.5.10.

Weakness: CWE-22

Which versions are affected by CVE-2026-30869?

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 versionsNone
github.com/siyuan-note/siyuan/kernel GoAll versions3.5.10
github.com/siyuan-note/siyuan/kernel GoAll versions3.5.10

Products include B3log Siyuan.

How do I fix CVE-2026-30869?

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

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

Is CVE-2026-30869 being exploited?

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

All B3log Siyuan vulnerabilities

Sources

Also known as GHSA-2h2p-mvfx-868w, GO-2026-4646.

Is CVE-2026-30869 in your software?

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

Check your SBOMs for free