Information Disclosure in SiYuan Kernel Enabling Offline Password Cracking
An information disclosure vulnerability in SiYuan's API allows unauthorized remote readers to retrieve cryptographic material necessary for offline, unthrottled GPU-based cracking of encrypted notebook master passwords.
CVE search metadata
CVE search record: CVE-2026-72801. Severity: high. CVSS: 7.5. EPSS: 0.24%. KEV: no. Product: SiYuan Kernel (< 0.0.0-20260724102025-3bc014c7dc32), SiYuan kernel (< 0.0.0-20260724091654-82e9ded423e4), SiYuan Kernel (< 0.0.0-20260723031701-9c16e9851f0b), SiYuan kernel (< 0.0.0-20260721013353-69db783b782a). Brief: Information Disclosure in SiYuan Kernel Enabling Offline Password Cracking. Brief link: https://feed.craftedsignal.io/briefs/2026-09-siyuan-info-disclosure/
What's new
- 1. added detection rule: Detect CVE-2026-68587 Exploitation Attempt Sep 4, 00:05 via ghsa
- 2. added coverage for SiYuan Kernel (< 0.0.0-20260723031701-9c16e9851f0b) Sep 4, 00:04 via ghsa
- 3. added detection rule: Detects CVE-2026-72804 Exploitation - Unauthorized Access to Graph Endpoints Sep 4, 00:04 via ghsa
SiYuan kernel versions prior to 0.0.0-20260724102025-3bc014c7dc32 contain an information disclosure vulnerability (CVE-2026-72801) affecting the handling of encrypted notebook configuration metadata. Specifically, two API endpoints, /api/system/getConf and /api/notebook/getNotebookConf, fail to properly redact sensitive cryptographic material when accessed by non-administrator roles.
An unauthenticated remote attacker or an unauthorized publish reader can retrieve the Argon2id salt, key derivation function (KDF) parameters, and master password verifiers (KEKVerifier/KEKMAC). Furthermore, the attacker can obtain the wrapped per-notebook data encryption key (WrappedDEK). Because these endpoints do not implement rate limiting or server-side auditing of guesses, an attacker can perform high-speed offline GPU cracking of the master password. Once the master password is recovered, the attacker uses the retrieved wrapped data key to decrypt notebook content. This vulnerability moves the threat of an offline filesystem attack to a remote, network-accessible pre-authentication exploitation vector.
Attack Chain
- Attacker identifies a SiYuan instance with publish mode enabled (default port 6808).
- Attacker interacts with the
/api/system/getConfendpoint using a low-privilegeRoleReadertoken or as an anonymous reader ifPublish.Auth.Enableis set to false. - The server erroneously returns the
NotebookCryptoobject, providing the attacker with theMasterSalt,KDFParams,KEKVerifier, andKEKMAC. - Attacker calls
/api/notebook/getNotebookConfwith a targetnotebook_idto retrieve theBoxCrypt.WrappedDEKandWrapNonce. - Attacker performs offline brute-force or dictionary attacks against the Argon2id KDF parameters using locally managed GPU clusters.
- Successful password recovery derives the Key Encryption Key (KEK).
- Attacker decrypts the
WrappedDEKto obtain the notebook's master Data Encryption Key (DEK). - Attacker uses the DEK to decrypt the target notebook files, resulting in full data compromise.
Impact
The vulnerability allows unauthorized remote parties to bypass the security of encrypted notebooks. Since the attack occurs entirely offline using retrieved parameters, it cannot be detected or blocked by server-side intrusion prevention systems. A successful attack results in the total loss of confidentiality for all notebooks stored within the compromised SiYuan instance.
Recommendation
Prioritize patching the SiYuan kernel to version 0.0.0-20260724102025-3bc014c7dc32 or later. Ensure that the HideConfSecret function correctly excludes all NotebookCrypto fields for non-administrator roles, and verify that reader role filtering is enforced across all BoxCrypt related endpoints. Monitor web access logs for high-frequency POST requests to /api/system/getConf and /api/notebook/getNotebookConf originating from unauthorized or anonymous user agents.
Immediate actions
Patch SiYuan kernel to version 0.0.0-20260724102025-3bc014c7dc32
Mitigations
Restrict access to /api/system/getConf and /api/notebook/getNotebookConf at the reverse proxy or WAF layer.
CVE-2026-72801
Detection coverage 3
Detects CVE-2026-72801 Exploitation - Unauthorized API Access to Notebook Crypto
highDetects unauthorized access to the getConf or getNotebookConf API endpoints by identifying requests that reveal sensitive cryptographic metadata.
Detects CVE-2026-72804 Exploitation - Unauthorized Access to Graph Endpoints
highDetects potential exploitation of CVE-2026-72804 by monitoring for POST requests to graph endpoints that return successful status codes.
Detect CVE-2026-68587 Exploitation Attempt
highDetects unauthorized access attempts to SiYuan transaction endpoints that return sensitive rendered document content.
Detection queries are available on the platform. Get full rules →