Skip to main content

Kernel: Duplicate Advisory: Localhost-trust admin bypass on auth-code-gated endpoints, with potential remote reachability via the fixed-port prox

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

Description

SiYuan versions up to and including v3.7.2 contain an authentication bypass vulnerability in the kernel's CheckAuth function. This flaw grants administrator privileges to any request originating from the loopback address (127.0.0.1) for certain endpoints, bypassing access auth codes. The vulnerability can potentially be exploited remotely via a fixed-port reverse proxy that forwards requests over loopback without proper authentication token injection or trusted proxy configuration. The issue was patched in version v3.7.4. This advisory is a duplicate and has been withdrawn in favor of GHSA-3mp7-4rh5-jrv9.

CVSS v3.1

Score 8.0high

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

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:07:11 UTC

Technical Analysis

The kernel component of SiYuan versions <= v3.7.2 has an authentication bypass vulnerability in its CheckAuth function. Requests with a RemoteAddr of 127.0.0.1 are automatically granted the administrator role for specific endpoints, including /api/system/exit, getNetwork, getWorkspaceInfo, /assets/*, and /export/*. This bypass occurs even when access auth codes are configured. A fixed-port reverse proxy forwards requests to the kernel over loopback without injecting authentication tokens and lacks trusted proxy configuration, potentially allowing remote unauthenticated attackers to gain admin access if the proxy is bound to a network interface. However, remote exploitation was not confirmed through end-to-end testing. The vulnerability is fixed in SiYuan v3.7.4.

Potential Impact

An attacker able to send requests that appear to originate from the loopback interface can gain administrator privileges on affected endpoints, bypassing authentication controls. This could lead to high confidentiality impact, limited integrity impact, and high availability impact as per the CVSS vector. Remote exploitation is theoretically possible via the fixed-port proxy but was not demonstrated in practice.

Mitigation Recommendations

Upgrade SiYuan to version v3.7.4 or later where this vulnerability is patched. Since this advisory is a duplicate and the original GHSA-3mp7-4rh5-jrv9 should be referenced for updates, ensure to follow vendor guidance from that advisory. No other mitigations are specified.

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-8wx9-j7j5-h9vp
Osv Schema Version
1.4.0
Ecosystems
["Go"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a9ad505acd9273b49b67c1d

Added to database: 09/04/2026, 14:26:13 UTC

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

Last updated: 10/04/2026, 06:09:56 UTC

Views: 21

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