SiYuan before v3.7.4 Authentication Bypass via Localhost Trust
Published Aug 12, 2026
7.1
HIGHCVSS 4.0
EPSS 0.30%
Description
SiYuan versions <= v3.7.2 (patched in v3.7.4) contain an authentication bypass vulnerability in the kernel's CheckAuth function, which grants the administrator role (RoleAdministrator) to any request whose RemoteAddr is loopback (127.0.0.1) for a specific set of endpoints (including /api/system/exit, getNetwork, getWorkspaceInfo, /assets/*, and /export/*). These localhost bypasses sit outside the access auth code gate, so they apply even when an access auth code is configured. Because the fixed-port reverse proxy forwards requests to the kernel over loopback without injecting an authentication token and does not configure trusted proxies, a request forwarded through this proxy reaches the kernel with RemoteAddr = 127.0.0.1. If the fixed-port proxy is bound to a network interface, this could allow a remote unauthenticated attacker to obtain admin access on the affected endpoints; however, per the advisory this remote forwarding behavior was established only by code inspection and was not reproduced end-to-end.
Affected products
-
Affected
- ≥ 0, < 3.7.4
Unaffected
- 3.7.4
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Siyuan-Note | Siyuan | unaffected | Affected
Unaffected
|
No data.
No data.
No Red Hat product state for this CVE.
github.com/siyuan-note/siyuan/kernel
Go
Introduced 0 Fixed 0.0.0-20260723031701-9c16e9851f0b
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | 0 | 0.0.0-20260723031701-9c16e9851f0b |
Remediation
No remediation recorded yet.
References (6)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-57410 Advisory
- https://github.com/advisories/GHSA-3mp7-4rh5-jrv9 Advisory
- https://github.com/siyuan-note/siyuan/commit/9c16e9851f0b5d7ed179e5c2fca15a7724666871
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3mp7-4rh5-jrv9 exploitvendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-72809
- https://www.vulncheck.com/advisories/siyuan-before-authentication-bypass-via-localhost-trust third-party-advisory
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub