SiYuanで認証を回避され文書情報などを取得される脆弱性
概要
SiYuanのWebSocketエンドポイントに認証回避の脆弱性があり、未認証の攻撃者が文書のIDやタイトル、操作ログを含むカーネルのイベントストリームを受信できるおそれがあります。影響を受けるのはv3.7.4より前のバージョンです。v3.7.4以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
SiYuan という製品で、CVE-2026-73054 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 7.5/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「SiYuan CVE-2026-73054」を検索してください。
CVE-2026-73054 (SiYuan) — CWE-287 / CVSS v3 7.5
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
SiYuan に 認証バイパス (CWE-287) があります。
SiYuan の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.5/10)。機密情報が外部に流出する可能性があります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'SiYuan' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
SiYuanを grep し、稼働しているサービス・バージョンを把握する。 -
2
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| gogithub.com/siyuan-note/siyuan/kernel |
0.0.0-20260731131820-67bc300b6ea6 未満→ 0.0.0-20260731131820-67bc300b6ea6 |
0.0.0-20260731131820-67bc300b6ea6 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
Two checks on the same WebSocket request URI parse it differently. The authentication exemption for keepalive sessions matches raw substrings, while the quarantine introduced to contain those sessions reads a parsed query parameter. Because Go's url.Values.Get returns only the first value for a repeated key, a single URI can satisfy the exemption and still resolve to a non-auth session identity.
The result is that an unauthenticated remote caller connects to the kernel WebSocket with a valid access auth code configured, is placed in the general broadcast pool rather than the quarantined pool, and receives the live event stream.
Details
The exemption matches substrings. kernel/server/serve.go:1222 on the development branch, :1074 on master:
authOk = strings.Contains(s.Request.RequestURI, "/ws?app=siyuan") &&
strings.Contains(s.Request.RequestURI, "&id=auth&type=auth")
Neither operand is parsed. Any URI containing both literals is exempted, regardless of what the query actually resolves to.
The quarantine parses. Commit 1e370e373 added the containment for exempted sessions at kernel/util/websocket.go:171:
id = session.Request.URL.Query().Get("id")
return "auth" == id
url.Values.Get returns the first value for a repeated key.
The differential. For the URI:
/ws?app=siyuan&id=main&type=main&id=auth&type=auth
- It contains
/ws?app=siyuanand&id=auth&type=auth, soauthOkis true. No cooki…
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- package github.com
- web github.com
- web vulncheck.com
- web github.com
- web github.com
- web github.com
- web github.com