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
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
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
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.
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 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.
External Links
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.