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…

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, an open-source personal knowledge management system, has a path traversal vulnerability in versions prior to 3.7.1. The vulnerability exists in the /snippets/*filepath route handler, which improperly joins a decoded request path with the snippets directory without validating subpath containment. This allows an authenticated user to access sensitive files outside the intended directory, such as workspace secrets and the document database. The issue is fixed in version 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/09/2026, 23:02:43 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 score of 7.7 (High) with network attack vector, low attack complexity, required privileges, no user interaction, and impacts confidentiality with a scope change. The issue is resolved in SiYuan 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 leads to a confidentiality breach with potentially significant exposure of sensitive user data. There is no impact on integrity or availability reported.

Mitigation Recommendations

Upgrade SiYuan to version 3.7.1 or later, where this path traversal vulnerability is fixed. Since no official patch or temporary fix is explicitly stated beyond this version update, applying this upgrade is the recommended remediation. Patch status is not explicitly confirmed beyond the fix in 3.7.1; verify with the vendor advisory for the latest guidance.

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/09/2026, 23:02:43 UTC

Last updated: 07/10/2026, 02:22:31 UTC

Views: 8

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