CVE-2026-145601: SiYuan before 3.8.12 Missing Authorization via getAssetContentByPath Nested Rollup
SiYuan before 3.8.12 contains a missing authorization vulnerability that allows authenticated Reader users to read indexed asset content from publish-disabled documents through nested Attribute View rollups. Attackers can send the asset path to /api/search/getAssetContentByPath because recursive Relation and Rollup traversal skips publish filtering, disclosing private attachment content.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SiYuanto a version that resolves this vulnerability.Fixed in 3.8.12
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with the Reader role can exploit it. The attack is network-accessible and does not require user interaction.
What content can be exposed?
The issue can disclose indexed asset content attached to documents that have publishing disabled. Exposure occurs when the assets are reachable through nested Attribute View Relation and Rollup traversal.
What does an attacker need to send?
The attacker needs the asset path and can submit it to the /api/search/getAssetContentByPath endpoint. Recursive Relation and Rollup traversal can bypass publish filtering for the referenced content.
Which versions are affected?
SiYuan versions before 3.8.12 are affected.