SiYuan before v3.7.4 Information Disclosure via authFilePublishAccess
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.7.4 and github.com/siyuan-note/siyuan/kernel 0.0.0-20260731093152-c7522b8db586.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| siyuan-note | <3.7.4 | 3.7.4 | |
| go: github.com/siyuan-note/siyuan/kernel | <0.0.0-20260731093152-c7522b8db586 | 0.0.0-20260731093152-c7522b8db586 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/siyuan-note/siyuan/kernel (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket