{"id":7858,"date":"2026-09-04T18:49:45","date_gmt":"2026-09-04T10:49:45","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74798"},"modified":"2026-09-04T18:49:45","modified_gmt":"2026-09-04T10:49:45","slug":"cve-2026-74798","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74798","title":{"rendered":"CVE-2026-74798 [HIGH] &#8211; SiYuan kernel before v3.7.4 contains a path traversal vulnerability in the database_clean"},"content":{"rendered":"<p>SiYuan kernel before v3.7.4 contains a path traversal vulnerability in the database_clean MCP tool. The tool performs only an empty-string check on the id parameter before passing it to RemoveUnusedAttributeView (kernel\/model\/attribute_view.go), which builds a filesystem path via filepath.Join without validating that id matches SiYuan&#8217;s node-ID format. An authenticated MCP client can supply path traversal sequences in id to cause the kernel to copy an arbitrary file readable by the process into SiYuan&#8217;s history directory (arbitrary file read) and then delete the original file (arbitrary file deletion). The corresponding HTTP API handler was hardened in GHSA-7hm9-v7vf-7g4w, but this MCP caller was not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SiYuan kernel before v3.7.4 contains a path traversal vulnerability in the database_clean MCP tool. The tool performs only an empty-string check on the id parameter before passing it to RemoveUnusedAt<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7858","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}