Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed SiYuan publish endpoint (port 6808)
-
DeliveryCraft double-URL-encoded ../ request to /assets/
-
ExploitBypass path normalization in assets route
-
ExecutionRead conf/conf.json and temp databases
-
PersistHarvest AccessAuthCode hash, API token, sync keys
-
ImpactReuse credentials for deeper access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target SiYuan instance to be running in publish mode - the anonymous read-only HTTP endpoint served by default on port 6808 - and that port to be reachable by the attacker. No authentication, user interaction, or special privileges are needed (PR:N/UI:N), and the attack is a single double-URL-encoded request against the /assets/*path route. The limiting factors are configuration and exposure: instances not using publish mode, or with port 6808 firewalled from untrusted networks, are not exploitable by an unauthenticated remote attacker. Only versions prior to 3.7.0 are affected. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, base 7.5) accurately reflects a network-reachable, low-complexity, unauthenticated read of high-value data with no integrity or availability impact - consistent with the description. Real-world priority is elevated by publicly available exploit code and by the sensitivity of the exposed files: leaking the conf/conf.json AccessAuthCode hash, API token, and sync keys can enable offline cracking or direct authenticated access, effectively turning a confidentiality-only flaw into a stepping stone toward fuller compromise. The mitigating factor is exposure scope: only instances running in publish mode (the anonymous port-6808 endpoint) are reachable by an unauthenticated attacker, so deployments not using publish mode or not exposing 6808 to untrusted networks face materially lower risk. EPSS and CISA KEV status were not provided in the input; absence of KEV data means active exploitation is not confirmed, and the public POC indicates capability but not necessarily widespread in-the-wild use. |
| Exploit ScenarioDerived | An attacker locates an internet-exposed SiYuan instance running in publish mode on port 6808 and issues a single crafted HTTP GET to the /assets/ route with double-URL-encoded '..' segments to traverse out of the assets directory. They retrieve conf/conf.json to harvest the AccessAuthCode SHA256 hash, API token, and sync keys, then use those credentials and the leaked databases to escalate access. Publicly available exploit code lowers the skill barrier to a simple, repeatable request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Arbitrary file disclosure in SiYuan personal knowledge management system before 3.7.0 lets an unauthenticated remote attacker read any file inside the workspace directory through its publish-mode HTTP endpoint (default port 6808). The flaw is an incomplete fix for CVE-2026-41894: the earlier patch sanitized the /export/ route but left the identical double-URL-encoding path traversal in the /assets/*path route, exposing conf/conf.json (AccessAuthCode SHA256 hash, API token, sync keys), the temp SQLite databases, and siyuan.log. Publicly available exploit code exists; no public active exploitation has been confirmed.
RemediationAI
Vendor-released patch: upgrade SiYuan to version 3.7.0 or later, which fixes the double-URL-encoding path traversal in the /assets/*path route; see the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-p4m3-mgmm-c664. If immediate upgrade is not possible, disable publish mode so the anonymous endpoint is not served, which removes the unauthenticated attack surface at the cost of losing public notebook sharing. Alternatively, restrict network access to the publish-mode port (default 6808) using a firewall or reverse proxy allowlist so only trusted clients can reach it, and place the endpoint behind an authenticating proxy; note this breaks anonymous sharing for legitimate external users. Because the exposed conf/conf.json may have already leaked secrets, after patching rotate the API token, sync keys, and reset the AccessAuthCode, since prior exposure cannot be ruled out.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is a self-hosted, open-source note-taking and knowledge-management application written in Go that serves content over an embedded HTTP server. In publish mode it exposes an anonymous, read-only endpoint (default port 6808) so notebooks can be shared without authentication. The vulnerability is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The /assets/*path handler resolves a user-supplied path relative to the workspace, but it decodes percent-encoded input such that double-URL-encoded '..' sequences (e.g. %252e%252e) survive a single normalization pass and resolve to parent directories. The affected component is cpe:2.3:a:siyuan-note:siyuan, all versions prior to 3.7.0. Because the prior CVE-2026-41894 patch only hardened the /export/ route, the same decoding weakness persisted unaddressed in the assets route.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated single-request file read over the network (AV:N/AC:L/PR:N/UI:N) on the publish endpoint, leaking sensitive secrets (C:H) with no write or availability impact (I:N/A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
SiYuan personal knowledge management system before version 3.7.0 contains an unauthenticated remote vulnerability exposing sensitive organizational credentials and encryption keys through a network-accessible HTTP endpoint. This regression from a prior security fix allows attackers to read authentication hashes, API tokens, and sync keys without any user interaction or authentication, directly compromising credential security and data synchronization.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict firewall rules to block remote access to port 6808 or disable publish-mode entirely; (2) Implement network segmentation isolating SiYuan systems from untrusted networks; (3) Rotate all stored credentials (AccessAuthCode, API tokens, encryption keys) and monitor for misuse; (4) Enable detailed audit logging on affected systems to detect exploitation attempts; (5) Prioritize vendor patch deployment once released and verify the fix covers both /export/ and /assets/ routes to avoid regression.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-39122
GHSA-p4m3-mgmm-c664
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB