CVE-2026-145596: SiYuan before 3.8.12 Information Disclosure via /api/system/getConf Statistics
SiYuan before 3.8.12 contains an information disclosure vulnerability in /api/system/getConf, where non-administrator configuration masking does not clear the workspace-wide conf.stat counters. Authenticated publish Readers can send an empty POST request to obtain tree, block, data-size, and asset-size totals, revealing the existence and aggregate footprint of unpublished or password-gated content.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.8.12
Event History
Frequently Asked Questions
Who can access the exposed statistics?
An authenticated user with the publish Reader role can access them. Administrator privileges are not required.
What does an attacker need to do to exploit this issue?
The attacker needs valid publish Reader authentication and can send an empty POST request to /api/system/getConf. No user interaction is required.
What information is disclosed?
The endpoint can reveal workspace-wide tree, block, data-size, and asset-size totals. These aggregates can indicate the existence and overall footprint of unpublished or password-gated content.
Which deployments are affected?
SiYuan versions before 3.8.12 are affected. Deployments that grant publish Reader access are exposed to this disclosure.
How can administrators determine whether they are exposed?
Review the SiYuan version and whether publish Reader accounts exist. On versions before 3.8.12, an authenticated publish Reader receiving workspace-wide conf.stat counters from an empty POST to /api/system/getConf indicates exposure.