Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan
  4. ›
  5. CVE-2026-32750

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

March 16, 2026

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.

References

  • github.com/advisories/GHSA-rjhh-m223-9qqv
  • github.com/siyuan-note/siyuan
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-rjhh-m223-9qqv
  • nvd.nist.gov/vuln/detail/CVE-2026-32750

Code Behaviors & Features

Detect and mitigate CVE-2026-32750 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.0-20260313024916-fd6526133bb3

Solution

Unfortunately, there is no solution available yet.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-552: Files or Directories Accessible to External Parties

Source file

go/github.com/siyuan-note/siyuan/CVE-2026-32750.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Mar 2026 12:19:49 +0000.