MEDIUM5.8
GO-2026-6626
SiYuan: getUniqueFilename passes an unvalidated client-supplied path to the filesystem, giving anonymous readers an existence oracle over the entire host filesystem in github.com/siyuan-note/siyuan/kernel
Quick fix
GO-2026-6626 — github.com/siyuan-note/siyuan/kernel: upgrade to the fixed version with the command below.
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260812083335-251596fc0de2Details
SiYuan: getUniqueFilename passes an unvalidated client-supplied path to the filesystem, giving anonymous readers an existence oracle over the entire host filesystem in github.com/siyuan-note/siyuan/kernel
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/siyuan-note/siyuan/kernel
Introduced in:
0Fixed in: 0.0.0-20260812083335-251596fc0de2Fix
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260812083335-251596fc0de2