CVE-2026-74798
Last modified
CVE-2026-74798 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | < 3.7.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-74798?
How severe is CVE-2026-74798?
How do I fix CVE-2026-74798?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-74791Scriban before 7.0.0 fails to clear the CachedTemplates dict…8.6
- CVE-2026-74792Scriban before 7.0.0 (affected versions <= 6.6.0) contains a…7.5
- CVE-2026-74794Scriban before 6.6.0 contains an infinite recursion vulnerab…7.5
- CVE-2026-74795Scriban before 6.6.0 contains an uncontrolled recursion vuln…7.5
- CVE-2026-74796OpenTofu before 1.11.7 fails to validate existing symlinks i…6.1
- CVE-2026-74797OpenTofu versions before 1.11.4 contain a denial of service …3.1
- CVE-2026-74799SiYuan before 3.7.4 registers Go net/http/pprof debug endpoi…9.3
- CVE-2026-7480An Incorrect Permission Assignment for Critical Resource vul…7.3
- CVE-2026-74800SiYuan before v3.7.4 fails to set Content-Disposition and X-…9
- CVE-2026-74801SiYuan before 3.7.4 fails to properly escape workspace direc…8.2
- CVE-2026-74802SiYuan versions before 3.7.4 contain a cross-site WebSocket …8.2
- CVE-2026-74803Joomla Extension - yootheme.com - Unauthenticated arbitrary …10
Are you affected by CVE-2026-74798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
