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 1.9%top 22%

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

0
High
VulnerabilityCVE-2026-54066cvecve-2026-54066cwe-22cwe-23cwe-1188
Published: 06/24/2026 (06/24/2026, 21:13:25 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.0, the patch for CVE-2026-41894 ("Path Traversal via Double URL Encoding") sanitized the /export/ route but the identical root cause remains in the /assets/*path route. In publish mode (anonymous read-only HTTP endpoint, default port 6808), an unauthenticated remote attacker can read arbitrary files inside WorkspaceDir — including conf/conf.json (which contains the AccessAuthCode SHA256 hash, API token, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log — by double-URL-encoding .. segments. This vulnerability is fixed in 3.7.0.

CVSS v3.1

Score 7.5high

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

Affected software

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

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/11/2026, 09:51:18 UTC

Technical Analysis

CVE-2026-54066 is a path traversal vulnerability in SiYuan versions before 3.7.0. It occurs due to improper limitation of pathname to a restricted directory (CWE-22), allowing unauthenticated remote attackers to bypass access controls via double URL encoding on the /assets/*path route when the application is in publish mode. This enables reading of arbitrary files within the WorkspaceDir, including sensitive configuration, database, and log files. The issue was resolved in SiYuan version 3.7.0.

Potential Impact

An attacker without authentication can exploit this vulnerability to read arbitrary files within the WorkspaceDir, potentially exposing sensitive information such as configuration details, database contents, and logs. This can lead to information disclosure but does not affect integrity or availability according to the CVSS vector.

Mitigation Recommendations

Upgrade SiYuan to version 3.7.0 or later, where this vulnerability has been fixed. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor stating the fix in version 3.7.0.

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-06-11T18:24:35.097Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3c501d4853345fc1e45bce

Added to database: 06/24/2026, 21:46:05 UTC

Last enriched: 07/11/2026, 09:51:18 UTC

Last updated: 08/08/2026, 15:25:21 UTC

Views: 75

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