Vulnerability · Published Aug 12, 2026 · Assigned by VulnCheck
CVE-2026-72809SiYuan before v3.7.4 Authentication Bypass via Localhost Trust
High 8.0
In plain English
A high-severity authentication bypass by spoofing in siyuan from siyuan-note. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | 0.0.0-20260723031701-9c16e9851f0b | GHSA-3mp7-4rh5-jrv9 |
| Go | github.com/siyuan-note/siyuan/kernel | 0.0.0-20260723031701-9c16e9851f0b | GO-2026-6386 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 – before 3.7.4 |
Weakness: CWE-290 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
References
- GitHub Security Advisory (GHSA-3mp7-4rh5-jrv9) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.7.4 Authentication Bypass via Localhost Trust third-party-advisory