Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 54%

CVE-2026-65607: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-65607cvecve-2026-65607
Published: 07/23/2026 (07/23/2026, 11:42:14 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

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.

CVSS v4.0

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

Affected versions
<3.7.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 22:26:44 UTC

Technical Analysis

CVE-2026-65607 describes a path traversal vulnerability in SiYuan note-taking software prior to version 3.7.2. The vulnerability exists in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go), where the raw, percent-decoded request path is joined with the temporary directory path and served without IsSubPath or IsSensitivePath checks. This allows an authenticated attacker to craft requests with percent-encoded traversal sequences (e.g., %2e%2e for '..') to read arbitrary files outside the intended directory, including sensitive system and application files. The vulnerability bypasses protections added in a previous hardening effort (GHSA-6865-qjcf-286f).

Potential Impact

An authenticated attacker can read arbitrary files on the system running SiYuan, including sensitive files such as /etc/passwd, SSH private keys, and SiYuan workspace database and log files. This exposure can lead to information disclosure and potential further compromise of the affected system. The vulnerability does not require user interaction and has a low attack complexity but requires authentication.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before v3.7.2, upgrading to version 3.7.2 or later is likely to address the issue. Until an official fix is confirmed, restrict access to the affected endpoint to trusted users and monitor for suspicious activity involving path traversal patterns in requests.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-22T10:48:36.000Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6207979c2644c7f80b64a7

Added to database: 07/23/2026, 12:22:47 UTC

Last enriched: 07/30/2026, 22:26:44 UTC

Last updated: 09/05/2026, 22:52:12 UTC

Views: 92

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses