CVE-2026-72789
nicheMissing authorization in SiYuan publish gate exposes encrypted notebooks anonymously
SiYuan's publish-access gate uses an opt-out model: any notebook not explicitly listed in publishAccess.json is treated as publicly accessible, and encrypted notebooks are never written to that file because only the admin-gated setPublishAccess ever writes it. While an encrypted notebook is unlocked, an anonymous reader in publish mode can list the notebook, enumerate its documents, and retrieve their fully decrypted content over the network, with no password, key material, or cracking involved. An attacker gains read access to the plaintext of all documents in any unlocked encrypted notebook on a publish-mode instance; the impact is confidentiality only. Users of SiYuan's optional publish mode are affected; the flaw was verified on v3.7.4-alpha.1 and the development branch (commit eef105683), and no fixed version is identified in the available data. There is no known public proof-of-concept, KEV listing, or in-the-wild exploitation; EPSS estimates a 0.3% probability of exploitation in the next 30 days.
What to do: Until a patched release is published (no fixed version identified in the available data), disable publish mode or manually add every encrypted notebook to the publish ignore list via the admin-gated setPublishAccess, and verify publishAccess.json contains the encrypted notebook IDs. Avoid keeping encrypted notebooks unlocked while publish mode is enabled, and place publish-mode endpoints behind additional authentication (e.g., reverse-proxy auth) on internet-exposed instances.
| b3log (SiYuan project) SiYuan kernel, publish mode | v3.7.4-alpha.1 and the development branch (commit eef105683) verified affected; the defect is in the publish-access gate itself, and no fixed version is stated |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
SiYuan before v3.7.4 fails to properly validate publish access for encrypted notebooks, treating them as publicly accessible by default. Anonymous readers can enumerate and retrieve fully decrypted document content from unlocked encrypted notebooks through the publish API without authentication or key material.
- Ecosystems
- go
- Weakness
- CWE-862
- Vector
- 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
- GHSA
- GHSA-v684-q882-jgmq (high)
In the news0 stories
No ingested article mentions this CVE yet.