Skip to main content

Kernel: Duplicate Advisory: Missing publish-access filter on the HPath/path-resolution endpoints discloses the private document tree to anonymous readers

0
Medium
Published: 08/12/2026 (08/12/2026, 21:31:41 UTC)
Source: GCVE Database
Product: github.com/siyuan-note/siyuan/kernel

Description

SiYuan versions up to 3.7.2 have a vulnerability where publish-access filters are not enforced on certain filetree path-resolution endpoints. This allows unauthenticated users or any publish reader token to enumerate the entire private document tree, including hidden, password-protected, or publish-forbidden documents. The vulnerability has a CVSS score of 5.8, indicating medium severity. This advisory is a duplicate and has been withdrawn in favor of GHSA-5w7r-f4cg-rqq7.

CVSS v3.1

Score 5.8medium

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

Affected software

Goghsa
github.com/siyuan-note/siyuan/kernel

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, 14:23:59 UTC

Technical Analysis

SiYuan before version 3.7.4 (affected versions up to 3.7.2) fails to enforce publish-access filters on five specific filetree path-resolution endpoints: getFullHPathByID, getHPathByID, getPathByID, getIDsByHPath, and getHPathByPath. When Publish.Auth.Enable is false, an unauthenticated or any publish reader token can call these endpoints to enumerate the complete private document tree. This includes mapping notebook names, folder hierarchies, document titles, and resolving title paths to document IDs, even for documents marked as hidden, password-protected, or publish-forbidden. This results in unauthorized information disclosure of private document metadata.

Potential Impact

An attacker without authentication can enumerate the entire private document tree structure, gaining knowledge of notebook names, folder hierarchies, and document titles, including those intended to be hidden or restricted. This leads to partial confidentiality loss (information disclosure) but does not affect document integrity or availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory GHSA-5w7r-f4cg-rqq7 for current remediation guidance. Since this advisory is a duplicate and withdrawn, refer to the original GHSA advisory for official fixes or mitigations. Until patched, restrict access to the affected endpoints or enable Publish.Auth to enforce access controls.

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-v3v5-7j3j-cc6f
Osv Schema Version
1.4.0
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2642acd9273b49fc9bda

Added to database: 09/05/2026, 14:25:06 UTC

Last enriched: 09/07/2026, 14:23:59 UTC

Last updated: 10/01/2026, 23:09:37 UTC

Views: 28

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