Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-accessible SiYuan instance
-
DeliveryAuthenticate as RoleReader or locate unauthenticated publish endpoint
-
ExploitCraft avID parameter with path traversal sequences
-
ExecutionSubmit request to attribute-view read endpoint
-
PersistServer resolves traversal path without validation
-
ImpactRead and exfiltrate cross-scope JSON database content
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 | Default-configuration exploitation requires a valid low-privilege account with at minimum RoleReader permissions on the target SiYuan instance - no administrator or elevated role is needed. When the publish authentication feature is disabled (a non-default but supported configuration), any network-accessible client can exploit the vulnerability without credentials. The attribute-view read endpoints must be reachable by the attacker, which is satisfied by any networked SiYuan deployment. Exploitation is strictly limited to reading JSON files accessible via the server's filesystem path resolution; no write access, code execution, or availability impact is possible. Instances that are not internet-exposed and that enforce publish authentication have a materially reduced attack surface, though authenticated insiders with RoleReader permissions remain a valid threat vector on all vulnerable versions. |
| Impact | The CVSS 4.0 score of 8.3 is driven by network accessibility (AV:N), low attack complexity (AC:L), and dual high-confidentiality impact (VC:H and SC:H), which accurately reflects the severity of cross-scope data disclosure. The PR:L metric is honest for default configurations requiring RoleReader credentials, but the description explicitly states that when publish authentication is disabled, anonymous clients can exploit the flaw - effectively making the authentication barrier PR:N in non-default but plausible deployments. This is a meaningful aggravating factor not fully captured in the static vector. No EPSS score was provided, and the vulnerability does not appear in the CISA KEV catalog, so exploitation in the wild is unconfirmed. No public POC has been identified. Real-world risk is moderated by SiYuan's self-hosted, personal-use nature: instances are less likely to be broadly internet-exposed compared to enterprise software, but teams or organizations self-hosting SiYuan with publish features enabled represent a credible threat surface. The pure-confidentiality impact (VI:N, VA:N) means attackers cannot modify or destroy data, limiting the scenario to exfiltration. |
| Exploit ScenarioDerived | An attacker holding a RoleReader account (or operating anonymously against an instance with publish authentication disabled) sends an HTTP request to an attribute-view read endpoint with an avID value such as ../../../../workspace/storage/other-scope/sensitive.json. SiYuan resolves the traversal without validation and returns the raw JSON contents, exposing database records from other scopes. Because no user interaction or elevated privilege is needed, the attack can be scripted to enumerate and bulk-exfiltrate multiple data files. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Path traversal in SiYuan's attribute-view read endpoints allows low-privileged users to read arbitrary JSON files outside the intended storage directory on versions before v3.7.3. The avID parameter is unsanitized across all code branches, enabling RoleReader-level authenticated users - or anonymous clients when publish authentication is disabled - to exfiltrate cross-scope database content stored as JSON on the server filesystem. No public exploit has been identified at time of analysis, and a vendor patch is available in v3.7.3.
RemediationAI
Upgrade SiYuan to v3.7.3 or later, which introduces proper avID parameter validation across all attribute-view read endpoint code branches, as confirmed by the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7hm9-v7vf-7g4w. If immediate patching is not feasible, disable the publish/sharing feature or enforce publish authentication - this eliminates the anonymous exploitation path but will prevent legitimate unauthenticated access to published workspaces. Restrict RoleReader account provisioning to explicitly trusted users only, as low-privilege authenticated accounts remain exploitable on unpatched instances regardless of publish settings. As a network-level compensating control, place SiYuan behind a reverse proxy with IP allowlisting or VPN to eliminate external exposure - note this does not address insider or compromised-account threats.
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 personal knowledge management system that uses attribute views (database/table views) to organize structured data. The vulnerable endpoints handle read requests for these attribute views and use the attacker-controlled avID parameter to construct file paths pointing to JSON storage files. Because no path validation or canonicalization is applied on any code branch, CWE-22 (Path Traversal) applies: an attacker can inject directory traversal sequences (e.g., ../../) into avID, causing the server to resolve paths outside the designated attribute-view storage directory. The CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* confirms all versions from 0 through pre-3.7.3 are affected. The CVSS 4.0 SC:H metric indicates that files accessible through traversal span beyond the vulnerable component's own data scope - specifically, cross-scope database JSON content belonging to other workspaces or users.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
PR:L reflects mandatory RoleReader credential in default config; S:C because traversal escapes the attribute-view boundary into other scopes; no integrity or availability impact applies.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.7.3 fail to validate the avID parameter on all code branches in attribute-view read endpoints, allowing attackers to construct traversal paths that escape the storage directory. Authenticated users with RoleReader permissions or anonymous clients when publish authentication is disabled can read JSON files outside the attribute-view directory to disclose cross-scope database content.
Executive ViewAI
SiYuan versions before 3.7.3 contain a path traversal vulnerability in attribute-view read endpoints that exposes sensitive database JSON files to unauthorized access. Users with low-privilege roles (or anonymous users if authentication is disabled) can exfiltrate cross-scope database content, potentially compromising proprietary information, user data, and system configuration stored on the server. Organizations running affected SiYuan instances should prioritize immediate patching to prevent data breach risk.
Apply vendor patch.
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's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
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
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| 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-52279
GHSA-7hm9-v7vf-7g4w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB