{"id":9133,"date":"2026-09-04T18:50:15","date_gmt":"2026-09-04T10:50:15","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74798-2"},"modified":"2026-09-04T18:50:15","modified_gmt":"2026-09-04T10:50:15","slug":"cve-2026-74798-2","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74798-2","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-9133","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/9133","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=9133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}