Path Traversal in B3log Siyuan
CVE-2026-32749
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (35.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N.
Affected products
- B3log Siyuan
- Siyuan-note Siyuan — versions < 3.6.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-32749?
- CVE-2026-32749 is a high-severity vulnerability in B3log Siyuan, classified under Path Traversal. CVSS score: 7.6/10. Published 2026-03-19.
- How severe is CVE-2026-32749?
- High severity. CVSS v3 base score is 7.6 out of 10.