[ CVE-2026-73630 · Published 14 Aug 2026 ]
SiYuan: authFilePublishAccess distinguishes hidden and forbidden documents from public and nonexistent ones, and issues a publish-auth cookie for documents it reports as forbidden
[ Description ]Official description
SiYuan before v3.7.4 contains an information disclosure vulnerability in the /api/filetree/authFilePublishAccess endpoint, which is registered with CheckAuth only and is reachable anonymously. The endpoint never sets a failure code, so its outcome is signalled entirely by the response message and by the presence of a Set-Cookie header, and these signals differ across access tiers. By submitting requests with an empty password for a candidate document identifier, an anonymous attacker can distinguish whether a document is public/nonexistent, password-protected, or exists at the hidden or forbidden tier, thereby confirming the existence of documents they are not permitted to access. Because hidden and forbidden entries store an empty password, such requests also cause the server to issue a publish-auth cookie for forbidden documents.
[ Fixes ]Fixes and patches
- github.com/siyuan-note/siyuan/kernel 0.0.0-20260731093152-c7522b8db586Fixed version · GitHub Advisories · go package github.com/siyuan-note/siyuan/kernel: upgrade to 0.0.0-20260731093152-c7522b8db586 or later (affected < 0.0.0-20260731093152-c7522b8db586)
[ Packages ]Affected open-source packages
- github.com/siyuan-note/siyuan/kernel goAffected < 0.0.0-20260731093152-c7522b8db586 · fixed in 0.0.0-20260731093152-c7522b8db586 · GHSA-4pjg-x8qj-33j5