Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.6

CVE-2026-32749: SiYuan allows admin to write files anywhere via import

CVE-2026-32749 · published 7 months ago
Summary

Versions of SiYuan up to 3.6.0 let an administrator upload a file that can be placed in any location on the server, not just a temporary folder. This could let an attacker overwrite important files or take control of the system, especially in Docker setups that run as root. Upgrade to version 3.6.1 or later to stop the unsafe file placement.

What to do
  • Update b3log siyuan to version 3.6.1 or later.
Affected software
Ecosystem VendorProductAffected versions
– b3log siyuan < 3.6.1
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
go github.com siyuan-note <= 0.0.0-20260313024916-fd6526133bb3
Go siyuan-note github.com/siyuan-note/siyuan/kernel <= 0.0.0-20260313024916-fd6526133bb3
Original advisory text
SiYuan importSY/importZipMd: Path Traversal via multipart filename enables arbitrary file write
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, POST /api/import/importSY and POST /api/import/importZipMd write uploaded archives to a path derived from the multipart filename field without sanitization, allowing an admin to write files to arbitrary locations outside the temp directory - including system paths that enable RCE. This can lead to aata destruction by overwriting workspace or application files, and for Docker containers running as root (common default), this grants full container compromise. This issue has been fixed in version 3.6.1.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
7.6 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-22Path Traversal
CWE-73External Control of File Name or Path
Timeline
Published19 Mar 2026
Updated4 Nov 2026
First seen16 Mar 2026
Sources
GO-2026-4707 · OSV
Track software like this
Free during beta