CVE-2026-74798

published 17 Aug 2026 · updated 18 Aug 2026

SiYuan kernel Path Traversal via database_clean MCP tool

8.7HighCVSS 8.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.7.4.

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'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'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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
siyuan-note<3.7.43.7.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-74798 severity on Zeptric[![CVE-2026-74798](https://zeptric.io/badge/cve/CVE-2026-74798.svg)](https://zeptric.io/cve/CVE-2026-74798)