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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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 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 |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39122
GHSA-p4m3-mgmm-c664