CVE-2025-67488 SiYuan: ZipSlip -> Arbitrary File Overwrite -> RCE

High 7.8 Published Updated

An authenticated user can exploit a ZipSlip vulnerability in SiYuan to overwrite arbitrary files, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-67488?

CVE-2025-67488 is a high-severity path traversal vulnerability in B3log Siyuan, published on 9 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

SiYuan is self-hosted, open source personal knowledge management software. Versions 0.0.0-20251202123337-6ef83b42c7ce and below contain function importZipMd which is vulnerable to ZipSlips, allowing an authenticated user to overwrite files on the system. An authenticated user with access to the import functionality in notes is able to overwrite any file on the system, and can escalate to full code execution under some circumstances. A fix is planned for version 3.5.0.

Weakness: CWE-22

Which versions are affected by CVE-2025-67488?

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 versions to 0.0.0-20251202123337-6ef83b42c7ceNone
github.com/siyuan-note/siyuan/kernel GoAll versions to 0.0.0-20251202123337-6ef83b42c7ceNone

Products include B3log Siyuan.

How do I fix CVE-2025-67488?

Upgrade to a fixed version.

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

Is CVE-2025-67488 being exploited?

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

All B3log Siyuan vulnerabilities

Sources

Also known as GHSA-gqfv-g4v7-m366, GO-2025-4221.

Is CVE-2025-67488 in your software?

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

Check your SBOMs for free