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

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-12T19:07:52.734Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-3mp7-4rh5-jrv9, GO-2026-6386
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.4 (not affected: 3.7.4)
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260723031701-9c16e9851f0b

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 8.0 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3mp7-4rh5-jrv9> (exploit, advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/siyuan-before-authentication-bypass-via-localhost-trust> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-72809> (advisory)
- <https://github.com/siyuan-note/siyuan/commit/9c16e9851f0b5d7ed179e5c2fca15a7724666871> (web)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-72809](https://www.cve.org/CVERecord?id=CVE-2026-72809), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-3mp7-4rh5-jrv9](https://github.com/advisories/GHSA-3mp7-4rh5-jrv9), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6386](https://pkg.go.dev/vuln/GO-2026-6386), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-72809](https://nvd.nist.gov/vuln/detail/CVE-2026-72809), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-72809 · Whole record: https://cve.day/CVE-2026-72809.json · Rebuilt by cve.day 2026-11-25T22:59:32.639Z
