External Control of File Name or Path Affecting github.com/siyuan-note/siyuan/kernel/api package, versions <3.6.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.43% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIYUANNOTESIYUANKERNELAPI-15762330
  • published24 Mar 2026
  • disclosed16 Mar 2026
  • creditfg0x0

Introduced: 16 Mar 2026

CVE-2026-32749  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade github.com/siyuan-note/siyuan/kernel/api to version 3.6.1 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path through the importSY, importZipMd, importSyncProviderWebDAV, importSyncProviderS3, and importConf file import processes in the kernel/api/import.go, kernel/api/sync.go, and kernel/api/system.go` components. An attacker can write files outside the intended import directory, potentially achieving code execution or overwriting application data, by supplying a crafted multipart filename.

Note: This is only exploitable if the attacker has administrative privileges.

CVSS Base Scores

version 4.0
version 3.1