github.com/siyuan-note/siyuan/kernel · SiYuan: Anonymous publish-password authentication bypass via getHeadingChildrenDOM / getHeading*Transaction /
Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database
Mentioned vulnerabilities
CVSS 8.6 High : upgrade to 0.0.0-20260721020826-2d069dce84a2 soon.
Data as of 26 Oct 2026, 16:19 UTC
- Patch
- Available – fixed in 0.0.0-20260721020826-2d069dce84a2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NWhat to do
Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260721020826-2d069dce84a2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/siyuan-note/siyuan/kernel | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available to address this vulnerability. It is recommended to apply the official fix from the vendor to ensure that all content-returning endpoints enforce the publish-password check consistently. Until patched, avoid exposing publish mode with password protection enabled in environments where unauthorized access is a concern.
Description
SiYuan's publish mode includes a 'protected' access level that requires a password to read documents. However, several content-returning API endpoints bypass this password check, allowing anonymous users to retrieve the full content of password-protected documents. This occurs because these endpoints do not enforce the password protection that the primary content endpoint applies. The vulnerability has been reproduced on live instances, demonstrating that an attacker can bypass the password gate and access protected content without authentication.
References
- github.com/siyuan-note/siyuan/security/advisories/GHSA-7j72-f6wg-cxw6 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-68584 (opens in a new tab)
- github.com/siyuan-note/siyuan/commit/2d069dce84a25c959ef0093c72c98e05778ef218 (opens in a new tab)
- github.com/siyuan-note/siyuan (opens in a new tab)
- vulncheck.com/advisories/siyuan-before-authentication-bypass-via-content-endpoints (opens in a new tab)