Skip to main content

Kernel: Duplicate Advisory: Static-file routes bypass the publish-access controls enforced on the REST API, exposing templates, snippets and export artifacts 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 before version 3.7.4 contains an access control bypass vulnerability where static-file routes bypass the publish-access controls enforced on the REST API. This allows attackers with publish reader tokens or anonymous access in disabled-auth mode to read templates, snippets, and export artifacts by directly accessing static routes that lack the same restrictions as the REST API. The advisory is a duplicate and has been withdrawn in favor of GHSA-fgmr-7w36-9qfq. No patch links are provided in this data.

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
Affected versions
<=3.7.2

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:24:09 UTC

Technical Analysis

The vulnerability in SiYuan (versions up to 3.7.2) involves an access control bypass (CWE-862) where static-file routes in the server mux do not enforce the same publish-access controls as the REST API. This discrepancy allows unauthorized reading of sensitive resources such as templates, snippets, and export artifacts by users with limited or no authentication (publish reader tokens or anonymous access in disabled-auth mode). The issue is tracked under GHSA-cm9f-w4h4-7j85 and has a CVSS 3.1 base score of 5.8 (medium severity). The advisory provided is a duplicate and withdrawn, referencing GHSA-fgmr-7w36-9qfq for the original details.

Potential Impact

An attacker with publish reader tokens or anonymous access (when disabled-auth mode is enabled) can bypass intended access controls and read sensitive static resources that should be protected. This results in unauthorized disclosure of templates, snippets, and export artifacts. There is no indication of integrity or availability impact. The vulnerability is rated medium severity with a CVSS score of 5.8.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory GHSA-fgmr-7w36-9qfq for current remediation guidance. Since no patch links are provided here and the advisory is a duplicate, users should refer to the original advisory for updates. Until a fix is applied, restrict anonymous access and review publish reader token permissions to limit exposure.

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-cm9f-w4h4-7j85
Osv Schema Version
1.4.0
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2642acd9273b49fc9bce

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

Last enriched: 09/07/2026, 14:24:09 UTC

Last updated: 10/04/2026, 07:42:33 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