# CVE-2026-32750: SiYuan importStdMd: unvalidated localPath imports arbitrary host directories as persistent notes

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/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.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T18:47:22.000Z
- Modified: 2026-06-17T10:36:19.257Z
- Also known as: GHSA-rjhh-m223-9qqv, GO-2026-4708
- Weaknesses: CWE-22, CWE-552
- 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/importStdMd passes the localPath parameter directly to model.ImportFromLocalPath with zero path validation. The function recursively reads every file under the given path and permanently stores their content as SiYuan note documents in the workspace database, making them searchable and accessible to all workspace users. Data persists in the workspace database across restarts and is accessible to Publish Service Reader accounts. Combined with the renderSprig SQL injection ( separate advisory ), a non-admin user can then read all imported secrets without any additional privileges. 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 (Go): up to 0.0.0-20260313024916-fd6526133bb3; all versions
- b3log siyuan: before 3.6.1

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rjhh-m223-9qqv> (exploit, advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/13b6d3d45e83525654d120f32a3fdc5d9e95df0b> (fix, patch, web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32750> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

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

---

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