{"apiVersion":"1.0","identifier":"CVE-2026-74798","description":"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.","publishedAt":"2026-08-17T11:16:39","lastModifiedAt":"2026-08-26T17:04:11","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-74798","cvssScore":8.7,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","epssProbability":0.00366,"riskScore":0.9,"affectedProduct":"SiYuan","affectedVersions":"<3.7.4","vulnerabilityType":"Web app","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-74798","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-74798","en":"https://www.redsauce.net/en/cves/CVE-2026-74798","fr":"https://www.redsauce.net/fr/cves/CVE-2026-74798","pt":"https://www.redsauce.net/pt/cves/CVE-2026-74798","de":"https://www.redsauce.net/de/cves/CVE-2026-74798","sk":"https://www.redsauce.net/sk/cves/CVE-2026-74798","el":"https://www.redsauce.net/el/cves/CVE-2026-74798"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-74798"}}