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.3%top 75%

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

0
High
VulnerabilityCVE-2026-59832cvecve-2026-59832cwe-22cwe-23
Published: 07/09/2026 (07/09/2026, 22:18:15 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath containment or sensitive-path checks, allowing an authenticated request such as /snippets/%2e%2e/%2e%2e/conf/conf.json to read workspace secrets and the document database. This issue is fixed in versions 3.7.1.

CVSS v3.1

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/17/2026, 09:50:38 UTC

Technical Analysis

CVE-2026-59832 is a path traversal vulnerability (CWE-22) in SiYuan before version 3.7.1. The /snippets/*filepath route handler in kernel/server/serve.go joins a single-decoded request path with the snippets directory without checking for subpath containment or sensitive paths. This flaw allows an authenticated attacker to craft requests like /snippets/%2e%2e/%2e%2e/conf/conf.json to read files outside the snippets directory, including workspace secrets and the document database. The vulnerability has a CVSS 3.1 base score of 7.7, indicating high severity, with network attack vector, low attack complexity, and requiring privileges but no user interaction. The vulnerability is fixed in version 3.7.1.

Potential Impact

An authenticated attacker can exploit this vulnerability to read sensitive files outside the intended snippets directory, including workspace secrets and the document database. This can lead to disclosure of confidential information, potentially compromising the confidentiality of the affected system. There is no indication of impact on integrity or availability.

Mitigation Recommendations

Upgrade SiYuan to version 3.7.1 or later, where this path traversal vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor stating the issue is fixed in 3.7.1.

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
GitHub_M
Date Reserved
2026-07-07T15:00:50.979Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50252a68715ace43310cda

Added to database: 07/09/2026, 22:48:10 UTC

Last enriched: 07/17/2026, 09:50:38 UTC

Last updated: 08/23/2026, 22:52:12 UTC

Views: 81

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