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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
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
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
SQL injection in SiYuan prior to version 3.6.0 allows any authenticated user, including those with read-only access, to
Cross-site scripting (XSS) in SiYuan personal knowledge management system versions 3.6.0-3.6.1 allows remote attackers t
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52279
GHSA-7hm9-v7vf-7g4w