Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SiYuan HTTP endpoint over network
-
DeliveryRequest /api/system/getConf anonymously
-
ExploitRead unmasked session-signing key
-
ExecutionForge signed session cookie
-
PersistImpersonate user or admin
-
ImpactTake over instance
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | The affected instance must be running SiYuan before v3.7.4 and be network-reachable by the attacker; the /api/system/getConf endpoint is accessible to anonymous or publish-reader users, so no authentication is required to obtain the leaked secrets (CVSS PR:N confirms unauthenticated access). The full escalation to administrator specifically requires that the instance has NOT been configured with an access-auth code - this is the key limiting factor: instances with an access-auth code set still leak the configuration secrets but constrain the anonymous admin-takeover path. No user interaction is needed (UI:N), and exploitation works against default configurations that expose the service without an access-auth code. |
| Impact | This is a genuine high-priority issue rather than an inflated high-CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, base 9.2) indicates a network-reachable, low-complexity, unauthenticated attack with no user interaction, and the VC:H/SC:H metrics reflect both direct credential disclosure and downstream subsequent-system impact (impersonation/admin takeover). The severity is driven by the chained consequence: leaking the cookie signing key enables cookie forgery and, absent an access-auth code, administrator escalation. No EPSS score, KEV listing, or POC was provided in the input, so there is no confirmed active exploitation - the risk rests on the low barrier to entry and clear impact rather than observed attacks. One nuance to verify: exploitation of the full admin-escalation path is conditioned on the target instance NOT having an access-auth code configured; instances with access-auth still leak the secrets but the escalation step is constrained. |
| Exploit ScenarioDerived | An attacker who can reach a SiYuan instance over the network - either fully anonymously or as a publish-reader - sends a request to /api/system/getConf and reads back the unmasked session-cookie signing key. Using that key they forge a signed session cookie for a target account (or an administrator), and on an instance without an access-auth code configured they obtain full administrative control. No public exploit code was identified at time of analysis, but the attack requires only a single unauthenticated HTTP request to obtain the secrets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Sensitive credential exposure in SiYuan (self-hosted note-taking app) before v3.7.4 allows anonymous or publish-reader users to query the /api/system/getConf endpoint and retrieve unmasked secrets, including the session-cookie signing key, the OS username (leaked via the pandoc path), and encrypted-notebook key material. With the signing key, attackers forge and tamper with session cookies to impersonate any user, and on instances that have not configured an access-auth code they can escalate to full administrator privileges. No public exploit identified at time of analysis, but the flaw is remotely reachable without authentication against default configurations.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.7.4 or later, which masks the sensitive configuration fields returned by /api/system/getConf; see the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h4v5-crx2-3cv4. If immediate patching is not possible, configure an access-auth code on the instance to block anonymous access and prevent the anonymous-to-administrator escalation path (trade-off: this requires all legitimate users to authenticate and may break unauthenticated publish/read-only sharing workflows), and restrict network exposure of the SiYuan endpoint by binding it to localhost or placing it behind a VPN/reverse proxy that requires authentication or blocks /api/system/getConf. After upgrading, rotate the exposed secrets - regenerate the session-cookie signing key (invalidating existing sessions) and re-key any encrypted notebooks - since disclosed key material remains usable until rotated.
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 an open-source, self-hostable personal knowledge-management/note-taking application (vendor siyuan-note, CPE cpe:2.3:a:siyuan-note:siyuan). The vulnerability maps to CWE-522 (Insufficiently Protected Credentials): the /api/system/getConf configuration endpoint returns the server configuration object without masking secret fields before serialization. Because the returned data includes the HMAC/signing key used for session cookies, the OS-level username embedded in the pandoc executable path, and key material for encrypted notebooks, disclosure of the signing key breaks the integrity guarantee of the cookie mechanism - an attacker who knows the key can mint or alter cookies that the server will accept as legitimate, turning an information-disclosure bug into an authentication-bypass and privilege-escalation primitive.
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:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Unauthenticated network endpoint (AV:N/AC:L/PR:N/UI:N) leaks credentials (C:H); leaked signing key enables cross-account cookie forgery, a scope change (S:C) with limited integrity impact (I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.7.4 fail to mask sensitive configuration fields in the /api/system/getConf endpoint, allowing anonymous or publish-reader users to obtain the session-cookie signing key, OS username via pandoc path, and encrypted-notebook key material. Attackers can forge and tamper with session cookies to impersonate users, and on instances without access-auth codes configured, escalate to administrator privileges.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
SiYuan self-hosted deployments before v3.7.4 expose critical authentication credentials to unauthenticated users directly via an API endpoint, allowing attackers to forge admin accounts and steal all user data. Any organization exposing SiYuan to untrusted networks faces immediate risk of full account compromise and data breach.
Until vendor patch is available: (1) restrict network access to SiYuan using VPN or firewall allowlist limiting connections to trusted IP ranges, (2) disable anonymous and publish-reader user roles if not operationally critical, (3) deploy WAF or network-layer rules to block requests to /api/system/getConf endpoint, (4) implement real-time monitoring and alerting on /api/system/getConf access attempts, (5) rotate session cookie signing keys and encrypted notebook keys weekly, (6) enforce multi-factor authentication for all administrative accounts.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-522 – Insufficiently Protected Credentials
View allSame technique Information Disclosure
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-57453
GHSA-2qqv-3jgq-vpm9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB