# CVE-2026-32749: SiYuan importSY/importZipMd: Path Traversal via multipart filename enables arbitrary file write

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 47% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T18:47:02.000Z
- Modified: 2026-06-17T10:36:19.150Z
- Also known as: GHSA-qvvf-q994-x79v, GO-2026-4707
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.1
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260313024916-fd6526133bb3; all versions
- b3log siyuan: before 3.6.1

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qvvf-q994-x79v> (exploit, advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/5ee00907f0b0c4aca748ce21ef1977bb98178e14> (patch, web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32749> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-32749](https://www.cve.org/CVERecord?id=CVE-2026-32749), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-qvvf-q994-x79v](https://github.com/advisories/GHSA-qvvf-q994-x79v), CC-BY-4.0, modified 2026-03-30
- Go Vulnerability Database: [GO-2026-4707](https://pkg.go.dev/vuln/GO-2026-4707), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-32749](https://nvd.nist.gov/vuln/detail/CVE-2026-32749), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32749 · Whole record: https://cve.day/CVE-2026-32749.json · Rebuilt by cve.day 2026-11-25T22:59:16.191Z
