CVE-2026-72797: SiYuan: getEncryptedNotebookStatus discloses names and current lock/unlock state of all encrypted notebooks to anonymous readers
POST /api/notebook/getEncryptedNotebookStatus returns the identifier, name, and current lock state of every encrypted notebook, with no publish-access filtering. The route is registered CheckAuth only, no CheckReadonly, no CheckAdminRole so it is reachable by the publish RoleReader token and by the anonymous account when Publish.Auth.Enable is false. Encrypted notebooks are private by design; their names frequently reveal the sensitive topic that motivated encrypting them.
References
- github.com/advisories/GHSA-f2rw-w22v-54vh
- github.com/siyuan-note/siyuan/commit/8fb1b5766093371f6a516c221c92026b904fe779
- github.com/siyuan-note/siyuan/security/advisories/GHSA-f2rw-w22v-54vh
- nvd.nist.gov/vuln/detail/CVE-2026-72797
- www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-getencryptednotebookstatus
Code Behaviors & Features
Detect and mitigate CVE-2026-72797 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →