CVE-2026-72808: SiYuan before v3.7.4 Information Disclosure via getFileAnnotation
SiYuan versions up to and including v3.7.2 (fixed in v3.7.4) contain an information disclosure vulnerability in the /api/asset/getFileAnnotation endpoint, which returns .sya PDF-annotation file content without a publish-access check. Because the endpoint is gated only by CheckAuth (unlike the /assets/ route, which enforces publish access and password), an anonymous reader (when publish authentication is disabled) or any publish RoleReader who knows an asset path can read the private PDF annotations (highlights and notes) of publish-forbidden, password-protected, or unpublished documents. The issue is limited to non-encrypted notebooks; encrypted-box annotations are not exposed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SiYuan /api/asset/getFileAnnotationto a version that resolves this vulnerability.Fixed in v3.7.4 - Compensating control
Until SiYuan is upgraded, restrict access to the endpoint path /api/asset/getFileAnnotation (e.g., via network ACL/WAF) so anonymous readers or unauthorized RoleReaders cannot query asset annotations by path.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72808?
The severity of CVE-2026-72808 is classified as medium with a score of 5.8.
How do I fix CVE-2026-72808?
To fix CVE-2026-72808, update SiYuan to version 3.7.4 or later.
What type of vulnerability is CVE-2026-72808?
CVE-2026-72808 is an information disclosure vulnerability.
Which versions of SiYuan are affected by CVE-2026-72808?
SiYuan versions up to and including v3.7.2 are affected by CVE-2026-72808.
What does CVE-2026-72808 allow attackers to do?
CVE-2026-72808 allows unauthorized access to .sya PDF-annotation file content via the /api/asset/getFileAnnotation endpoint.