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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-19 · Modified: 2026-03-25
- Aliases: GHSA-rjhh-m223-9qqv, GO-2026-4708
- Record: https://cvemate.com/vulnerability/CVE-2026-32750 · JSON: https://cvemate.com/vulnerability/CVE-2026-32750/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.501%, percentile 44.502%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- b3log siyuan: \< 3.6.1
- github.com/siyuan-note siyuan (Go): ≤ 0.0.0-20260313024916-fd6526133bb3 \| All versions (No fix recorded)
- siyuan-note siyuan: \< 3.6.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rjhh-m223-9qqv>
- <https://github.com/siyuan-note/siyuan/commit/13b6d3d45e83525654d120f32a3fdc5d9e95df0b>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32750>
- <https://github.com/siyuan-note/siyuan>

---

Data as of 2026-12-05T10:02:26.160Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
