FR
live
High CVSS 8.7

CVE-2026-74798

NVD analysis in progress

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.

What this means

Exposure
Exploitable remotely over the network, with a privileged account and with no action from the victim.
Impact
An attacker can read sensitive data and modify or destroy data. The impact spreads beyond the vulnerable component into other parts of the system.
Weakness
An attacker-supplied file path is not confined, letting them read or write outside the intended folder.
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
17 August 2026
CVSS
8.7 (v3.1) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
EPSS
0.37% probability of exploitation within 30 days · above 30% of all CVEs
Weakness
CWE-22
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss