Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
Unauthenticated network endpoint (AV:N/AC:L/PR:N/UI:N) leaks a signing key in the auth component, so scope changes (S:C) and forged sessions yield high confidentiality and integrity impact; no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
siyuan versions before v3.7.4 expose the session cookie signing key through the /api/system/getConf endpoint to unauthenticated users in publish mode. Attackers can retrieve the CookieKey value and forge valid session cookies to impersonate users or gain administrative access.
AnalysisAI
Credential disclosure in SiYuan note-taking software before v3.7.4 lets unauthenticated remote attackers read the session cookie signing key (CookieKey) from the /api/system/getConf endpoint when an instance runs in publish mode. With that key an attacker can mint valid signed session cookies, impersonate any user, and escalate to administrative control of the workspace. Reported by VulnCheck with a vendor security advisory (GHSA-34fj-mwm6-fjfg); no public exploit identified at time of analysis and the CVE is not listed in CISA KEV.
Technical ContextAI
SiYuan is a self-hosted, open-source personal knowledge-management and note-taking application with a built-in web server. Its 'publish mode' exposes a workspace as a read-oriented web service, and the /api/system/getConf endpoint returns the running configuration object. The root cause maps to CWE-522 (Insufficiently Protected Credentials): a secret used to sign/authenticate session cookies (CookieKey) is included in that configuration response and served to unauthenticated clients. Because the signing key is symmetric server-side material, disclosing it collapses the integrity guarantee of the entire session-cookie scheme - anyone holding the key can generate cookies the server will accept as genuine. The affected component is identified by CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* across all versions prior to 3.7.4.
RemediationAI
Vendor-released patch: v3.7.4 - upgrade all SiYuan instances to v3.7.4 or later, which stops exposing the CookieKey through /api/system/getConf. Until you can upgrade, the highest-value compensating control is to take publish mode off the public internet: restrict access to the publish-mode listener behind a reverse proxy, VPN, or IP allowlist, or block/deny unauthenticated access to the /api/system/getConf path at the proxy (trade-off: a path block may break legitimate config reads by the client and is version-specific, so test it). Disabling publish mode entirely removes the exposure but also removes the publishing functionality, so it is only viable where that feature is not needed. Because the signing key was disclosed, after upgrading you should also rotate the CookieKey and invalidate existing sessions so any cookies forged before patching stop working. See the vendor advisory GHSA-34fj-mwm6-fjfg (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-34fj-mwm6-fjfg) for authoritative guidance.
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-522 – Insufficiently Protected Credentials
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57454
GHSA-34fj-mwm6-fjfg