B3logのSiYuanにおけるパストラバーサルの脆弱性
| Title |
B3logのSiYuanにおけるパストラバーサルの脆弱性
|
| Summary |
SiYuanはオープンソースの個人知識管理システムです。バージョン3.6.3以前では、/api/av/removeUnusedAttributeViewエンドポイントが検証やパス境界の強制を行わずにユーザー制御のidパラメータを使用してファイルシステムパスを構築していました。攻撃者はid値に../のようなパストラバーサルシーケンスを注入することで意図したディレクトリから脱出し、サーバー上の任意の.jsonファイル(グローバル設定ファイルやワークスペースのメタデータを含む)を削除することが可能でした。この問題はバージョン3.6.4で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 16, 2026, midnight |
| Registration Date |
April 21, 2026, 10:44 a.m. |
| Last Update |
April 21, 2026, 10:44 a.m. |
|
CVSS3.0 : 重要
|
| Score |
8.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月21日] 掲載 |
April 21, 2026, 10:44 a.m. |
NVD Vulnerability Information
CVE-2026-40318
| Summary |
SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and prior, the /api/av/removeUnusedAttributeView endpoint constructs a filesystem path using the user-controlled id parameter without validation or path boundary enforcement. An attacker can inject path traversal sequences such as ../ into the id value to escape the intended directory and delete arbitrary .json files on the server, including global configuration files and workspace metadata. This issue has been fixed in version 3.6.4.
|
| Publication Date |
April 17, 2026, 8:16 a.m. |
| Registration Date |
April 18, 2026, 4:10 a.m. |
| Last Update |
April 21, 2026, 1:50 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* |
|
|
|
3.6.4 |
Related information, measures and tools
Common Vulnerabilities List