Kernel: SiYuan: Anonymous publish-password authentication bypass via getHeadingChildrenDOM / getHeading*Transaction / getBacklinkDoc (publish mode)
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.
CVSS v3.1
Score 8.6high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-68584 affects SiYuan's kernel component in its publish mode. The vulnerability arises because the password protection is enforced only on the primary content retrieval endpoint (`getDoc`) via `FilterContentByPublishAccess`. Other endpoints such as `getHeadingChildrenDOM`, `getHeadingDeleteTransaction`, `getHeadingLevelTransaction`, `getHeadingInsertTransaction`, `getBacklinkDoc`, and `getBackmentionDoc` return rendered content without performing any password checks. Additionally, the document's internal block and heading IDs are leaked through reader-accessible endpoints like `searchEmbedBlock`, which filters content but retains block IDs. This chain allows an anonymous user to retrieve the full content of a password-protected document without providing the password, effectively bypassing the intended access control.
Potential Impact
An anonymous user or any user with the publish RoleReader can bypass the password protection on documents marked as 'protected' in SiYuan's publish mode. This leads to unauthorized disclosure of the full content of password-protected published documents. The confidentiality of sensitive information is compromised, violating the product's documented access control guarantees.
Mitigation Recommendations
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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7j72-f6wg-cxw6
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a9ad51dacd9273b49b689c5
Added to database: 09/04/2026, 14:26:37 UTC
Last enriched: 09/07/2026, 12:22:32 UTC
Last updated: 10/01/2026, 23:05:05 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.