CVE-2026-72799: SiYuan: Missing publish-access filter on the HPath/path-resolution endpoints discloses the private document tree to anonymous readers
Five filetree endpoints resolve arbitrary document IDs and paths with no publish-access check of any kind. All are CheckAuth-only, so they are reachable by the publish RoleReader token and by the anonymous account when Publish.Auth.Enable is false. An anonymous reader can map the complete private document tree every notebook, folder, and document title, and which notebook holds each document for documents marked hidden, password-protected, or publish-forbidden, and can resolve titles to document IDs.
References
- github.com/advisories/GHSA-5w7r-f4cg-rqq7
- github.com/siyuan-note/siyuan/commit/5bae0926b896eaff0bc5cc6a75d421c2d161a806
- github.com/siyuan-note/siyuan/security/advisories/GHSA-5w7r-f4cg-rqq7
- nvd.nist.gov/vuln/detail/CVE-2026-72799
- www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-path-resolution
Code Behaviors & Features
Detect and mitigate CVE-2026-72799 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 →