ZeroHour

CVE-2026-72801

niche

Unauthenticated key-material disclosure in SiYuan enables offline password cracking

CVSS 4.0
8.7 high
EPSS
<1%p15
Published
()
Modified
AI analysis

SiYuan's encrypted-notebook feature discloses its complete master-password attack material through two CheckAuth-only API endpoints, POST /api/system/getConf and POST /api/notebook/getNotebookConf (with getNotebookInfo in the same class). These endpoints are reachable with a publish RoleReader token or by the anonymous account whenever Publish.Auth.Enable is false, so an unauthenticated remote client can retrieve the global Argon2id salt and cost parameters, the AES-GCM KEKVerifier/KEKMAC offline verification material, and each notebook's wrapped data-encryption key (WrappedDEK/WrapNonce). Because the verifier is checked entirely offline, an attacker can run unlimited, GPU-parallelizable guesses against the master password with no rate limiting, lockout, or server-side logging, and on success unwrap the data key and decrypt every .sy file in the affected notebooks, reducing their security to the master password's offline-guessability. Self-hosted SiYuan deployments that publish encrypted notebooks without authentication, or that have shared a reader token, are affected, while deployments that keep the publish API authenticated and do not use notebook encryption are not materially exposed. No public proof-of-concept, CISA KEV listing, or in-the-wild exploitation is known (EPSS approximately 0.2%).

What to do: Set Publish.Auth.Enable to true (or otherwise require authentication for the publish API) so anonymous clients cannot reach these endpoints, and audit whether reader tokens have been shared or leaked. If an encrypted notebook was exposed this way, treat its master password as crackable offline and rotate it, re-encrypting the notebooks with a long, high-entropy passphrase. No fixed version is specified in the available data, so track the SiYuan project for a patched release and upgrade as soon as one is published.

Affected
SiYuan (b3log) SiYuan (Go note-taking application, encrypted-notebook feature with publish/anonymous API access)
Estimated exposure
nichelikely hundreds to low thousands of exposed self-hosted instances (unknown precisely) — No install counts or internet-scan data were provided; SiYuan is a self-hosted open-source note-taking app with a modest community user base, and only the subset of deployments that both use encrypted notebooks and expose the publish API…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

SiYuan versions before v3.7.4 disclose encrypted-notebook key-derivation material and wrapped data keys through unauthenticated endpoints in publish mode. Attackers can retrieve Argon2id salt, cost parameters, password verifiers, and wrapped notebook keys to perform unlimited offline master-password cracking without rate limiting.

Ecosystems
go
Weakness
CWE-522
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/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
GHSA
GHSA-8x84-r2ff-h8pq (high)

In the news

No ingested article mentions this CVE yet.