Skip to content
HighVulnerability

CVE-2026-74798: SiYuan kernel path traversal in database_clean MCP tool

Identifier
CVE-2026-74798
Published
Record updated
View JSON

Summary

SiYuan kernel versions before v3.7.4 contain a path traversal flaw in the database_clean MCP tool. The tool checks only that the id parameter is non-empty before passing it to RemoveUnusedAttributeView, which builds a path with filepath.Join without validating the SiYuan node-ID format. An authenticated MCP client can use traversal sequences in id to copy any process-readable file into the history directory and then delete the original, enabling arbitrary file read and deletion.

Mitigation

Fixed in v3.7.4.