CVE-2026-74798: SiYuan kernel Path Traversal via database_clean MCP tool

Published Aug 17, 2026
·
Updated

SiYuan kernel before v3.7.4 contains a path traversal vulnerability in the databaseclean MCP tool. The tool performs only an empty-string check on the id parameter before passing it to RemoveUnusedAttributeView (kernel/model/attributeview.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 Software

1 affected component
SiYuan SiYuan kernel<3.7.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan kernel (database_clean MCP tool) to a version that resolves this vulnerability.

    Fixed in v3.7.4Patch GHSA-7hm9-v7vf-7g4w

Event History

Aug 17, 2026
CVE Published
via MITRE·11:04 AM
Data Sourced
via MITRE·11:04 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74798?

The severity of CVE-2026-74798 is high with a score of 8.7.

2

How do I fix CVE-2026-74798?

To fix CVE-2026-74798, upgrade to SiYuan kernel version 3.7.4 or later.

3

What type of vulnerability is CVE-2026-74798?

CVE-2026-74798 is identified as a path traversal vulnerability.

4

What component of SiYuan is affected by CVE-2026-74798?

CVE-2026-74798 affects the database_clean MCP tool within the SiYuan kernel.

5

How can CVE-2026-74798 impact my system?

CVE-2026-74798 can allow an attacker to traverse directories and access restricted files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203