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.
Published: 2026-08-12
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan versions up to and including v3.7.2 contain a flaw in the kernel's CheckAuth function. Requests that originate from the loopback address (127.0.0.1) to a limited set of endpoints—including /api/system/exit, getNetwork, getWorkspaceInfo, /assets/, and /export/—are automatically granted the administrator role (RoleAdministrator), regardless of whether an access authentication code has been configured. This bypass circumvents the normal authorization gate for those endpoints.

Affected Systems

The affected product is SiYuan Note, developed by siyuan-note. Versions up to and including 3.7.2 are impacted. The fix was released in version 3.7.4, which removes the loopback bypass in the CheckAuth function.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity, and the vulnerability is listed as not in the CISA KEV catalog. EPSS information is not available, so the current likelihood of exploitation cannot be quantified; however, the advisory notes that a reverse proxy bound to a network interface could forward traffic to the kernel with a RemoteAddr of 127.0.0.1, thereby allowing an unauthenticated remote attacker to obtain administrator access on the affected endpoints. The exploitation scenario has not been reproduced end‑to‑end, so the real‑world risk depends on the presence of such a misconfigured proxy or local access to the host.

Generated by OpenCVE AI on August 12, 2026 at 22:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.4 or later, which removes the loopback authentication bypass in the CheckAuth function.
  • Ensure that any reverse proxy used does not forward requests to the kernel with a RemoteAddr of 127.0.0.1 without setting an authentication token; configure trusted proxy settings appropriately or restrict the proxy’s binding scope.
  • Disable or restrict the fixed‑port reverse proxy if it is not required, or bind it only to localhost and block external access to that port.

Generated by OpenCVE AI on August 12, 2026 at 22:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title SiYuan before v3.7.4 Authentication Bypass via Localhost Trust
Weaknesses CWE-290
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H'}

cvssV4_0

{'score': 7.1, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-12T19:07:52.734Z

Reserved: 2026-08-10T15:11:49.794Z

Link: CVE-2026-72809

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-12T20:17:53.110

Modified: 2026-08-12T20:17:53.110

Link: CVE-2026-72809

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:00:05Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing