CVE-2026-65607: SiYuan before v3.7.2 Path Traversal via /export/temp/

Published Jul 23, 2026
·
Updated

SiYuan before v3.7.2 contains a path traversal vulnerability in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go). Unlike the main export branch, this branch joins the raw, percent-decoded request path with util.TempDir and serves the file without the IsSubPath or IsSensitivePath checks added in the earlier export-disclosure hardening (GHSA-6865-qjcf-286f). An authenticated attacker can send percent-encoded traversal sequences (e.g. /export/temp/%2e%2e/.../etc/passwd, where %2e%2e is decoded to '..') to read arbitrary files outside TempDir, including /etc/passwd, SSH keys (~/.ssh/), and SiYuan workspace .db and .log files, bypassing the sensitive-file protection.

Affected Software

1 affected component
SiYuan SiYuan<v3.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in v3.7.2
  2. Compensating control

    Restrict access to the SiYuan export/temp endpoint ("/export/temp/") to trusted users/IPs until all instances are upgraded to v3.7.2, to reduce exposure to the authenticated path traversal short-circuit branch in kernel/server/serve.go.

Event History

Jul 23, 2026
CVE Published
via MITRE·11:42 AM
Data Sourced
via MITRE·11:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
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-65607?

The severity of CVE-2026-65607 is medium with a score of 6.5.

2

How do I fix CVE-2026-65607?

To fix CVE-2026-65607, upgrade SiYuan to version 3.7.2 or later.

3

What is the nature of the vulnerability in CVE-2026-65607?

CVE-2026-65607 is a path traversal vulnerability in the /export/temp/ short-circuit branch.

4

Which software is affected by CVE-2026-65607?

CVE-2026-65607 affects SiYuan versions before 3.7.2.

5

What impact does CVE-2026-65607 have on data confidentiality?

CVE-2026-65607 may lead to unauthorized access to sensitive files due to its path traversal exploit.

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