Skip to content
Threat Feed
high advisory

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

  1. Attacker identifies a SiYuan instance with publish mode enabled (default port 6808).
  2. Attacker interacts with the /api/system/getConf endpoint using a low-privilege RoleReader token or as an anonymous reader if Publish.Auth.Enable is set to false.
  3. The server erroneously returns the NotebookCrypto object, providing the attacker with the MasterSalt, KDFParams, KEKVerifier, and KEKMAC.
  4. Attacker calls /api/notebook/getNotebookConf with a target notebook_id to retrieve the BoxCrypt.WrappedDEK and WrapNonce.
  5. Attacker performs offline brute-force or dictionary attacks against the Argon2id KDF parameters using locally managed GPU clusters.
  6. Successful password recovery derives the Key Encryption Key (KEK).
  7. Attacker decrypts the WrappedDEK to obtain the notebook's master Data Encryption Key (DEK).
  8. 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

IT Operations 24h

Mitigations

Restrict access to /api/system/getConf and /api/notebook/getNotebookConf at the reverse proxy or WAF layer.

immediate Security Operations

CVE-2026-72801

Detection coverage 3

Detects CVE-2026-72801 Exploitation - Unauthorized API Access to Notebook Crypto

high

Detects unauthorized access to the getConf or getNotebookConf API endpoints by identifying requests that reveal sensitive cryptographic metadata.

sigma tactics: credential_access techniques: T1110.002 sources: webserver

Detects CVE-2026-72804 Exploitation - Unauthorized Access to Graph Endpoints

high

Detects potential exploitation of CVE-2026-72804 by monitoring for POST requests to graph endpoints that return successful status codes.

sigma tactics: exfiltration techniques: T1005 sources: webserver

Detect CVE-2026-68587 Exploitation Attempt

high

Detects unauthorized access attempts to SiYuan transaction endpoints that return sensitive rendered document content.

sigma tactics: collection techniques: T1592 sources: webserver

Detection queries are available on the platform. Get full rules →