Skip to main content

Kernel: SiYuan: Anonymous publish-password authentication bypass via getHeadingChildrenDOM / getHeading*Transaction / getBacklinkDoc (publish mode)

0
High
Published: 09/03/2026 (09/03/2026, 21:22:42 UTC)
Source: GCVE Database
Product: github.com/siyuan-note/siyuan/kernel

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected software

Goghsa
github.com/siyuan-note/siyuan/kernel
Affected versions
<0.0.0-20260721020826-2d069dce84a2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 12:22:32 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses