Skip to content
Medium 5.9

SiYuan の認証済み利用者がAPIのパス制限を回避し設定ファイルや秘密鍵を公開される

CVE-2026-116171 First seen on SecPulse

Summary

SiYuan の Windows 版では、拡張長パス接頭辞(\?\)を使うことで機密パスの拒否リストを回避できる問題があります。認証済みの利用者がインポート API を悪用すると、API トークンや TLS 秘密鍵を含む設定ファイルを未認証の利用者にも見える形で複製される可能性があります。影響を受けるのは 3.5.4 以降 3.8.7 未満のバージョンで、3.8.7 以降への更新が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

SiYuan の Windows 版では、拡張長パス接頭辞(\?\)を使うことで機密パスの拒否リストを回避できる問題があります。認証済みの利用者がインポート API を悪用すると、API トークンや TLS 秘密鍵を含む設定ファイルを未認証の利用者にも見える形で複製される可能性があります。影響を受けるのは 3.5.4 以降 3.8.7 未満のバージョンで、3.8.7 以降への更新が必要です。

Affected packages

PackageAffected → Fixed
siyuan-notesiyuan
≥ 3.5.4, < 3.8.7→ 3.8.7
Original description The description as published by the source.

SiYuan 3.5.4 before 3.8.7 on Windows contains a sensitive-path denylist bypass in IsSensitivePath because the Windows extended-length prefix (\?) survives filepath.Clean and matches no forbidden prefix. Authenticated API callers can prepend the prefix to localPath in /api/import/importStdMd to copy workspace conf files, including the API token and TLS private keys, into assets served to unauthenticated clients.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details