Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local or proxy-forwarded access to SiYuan host
-
DeliverySend unauthenticated HTTP request to loopback kernel endpoint
-
ExploitCheckAuth grants RoleAdministrator via IP address trust
-
ExecutionAccess /export/* to exfiltrate notebook data or invoke /api/system/exit
-
ImpactAchieve data theft or application disruption
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | For the primary (local) attack path: attacker must have the ability to send HTTP requests to the SiYuan kernel's loopback address on the host machine - local user access or process-level access is required, but no SiYuan credentials or OS-level elevated privileges are needed. The bypass is limited to the specific endpoint set: /api/system/exit, getNetwork, getWorkspaceInfo, /assets/*, and /export/*; it does not grant admin access across all SiYuan functionality. For the secondary (remote) attack path: the SiYuan fixed-port reverse proxy must be bound to a network-accessible (non-loopback) interface, which is a non-default or explicitly misconfigured deployment state. A critical limiting factor for defenders: enabling the SiYuan access auth code does NOT protect these endpoints, because the loopback trust check sits outside the auth code gate. The bypass is version-agnostic across all v3.7.2 and earlier releases regardless of OS platform. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N, score 7.1) correctly anchors the primary exploitation path as local: an attacker with access to the host machine can trivially reach the kernel's loopback interface without any credentials. A secondary remote vector exists if the fixed-port proxy is bound to a non-loopback interface, but the advisory explicitly cautions that this path was not reproduced end-to-end - a meaningful credibility gap that should prevent treating this as a confirmed remote-exploitable flaw. No EPSS score was provided in the input data. Absence from the CISA KEV catalog and lack of any identified POC further reduce real-world urgency beyond patching. For typical SiYuan deployments running on a single workstation, the local attack vector means an adversary would already need host-level access, substantially limiting incremental risk. Risk is materially higher for users who expose the proxy port externally or run SiYuan in shared/server environments. |
| Exploit ScenarioDerived | A local attacker with shell or network access to the SiYuan host sends an unauthenticated HTTP GET request to the kernel's loopback endpoint - for example, targeting /export/* to retrieve all notebook files or /api/system/exit to crash the application - and CheckAuth grants administrator access based solely on the 127.0.0.1 source address. If the fixed-port proxy is misconfigured to listen on a LAN or internet-facing interface, an external attacker could send an HTTP request through the proxy, which forwards it to the kernel with RemoteAddr=127.0.0.1, triggering the same bypass without any credentials. No public exploit code has been identified, and the remote path was not confirmed end-to-end by the advisory authors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Authentication bypass in SiYuan's kernel CheckAuth function unconditionally grants administrator privileges (RoleAdministrator) to any HTTP request whose RemoteAddr is 127.0.0.1, affecting a specific set of endpoints including /api/system/exit, /assets/*, and /export/*, even when an access auth code is explicitly configured. All versions up to and including v3.7.2 are affected; v3.7.4 contains the vendor-released patch. The fixed-port reverse proxy forwards requests to the kernel over loopback without injecting authentication tokens or configuring trusted proxy headers, creating a theoretical remote unauthenticated attack path if the proxy is bound to a network-accessible interface - though per the advisory this remote scenario was established only by code inspection and was not reproduced end-to-end. No public exploit code exists and this CVE is not listed in the CISA KEV catalog.
RemediationAI
Upgrade SiYuan to v3.7.4 or later; this is the vendor-released patch confirmed by the GitHub security advisory GHSA-3mp7-4rh5-jrv9 at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3mp7-4rh5-jrv9. If immediate upgrade is not feasible, ensure the fixed-port reverse proxy is bound exclusively to 127.0.0.1 and not to any external network interface - this eliminates the remote forwarding attack path, though local exploitation remains possible until patched. Firewall rules (e.g., iptables/nftables) should block inbound access to the SiYuan kernel port and proxy port from non-localhost sources. Critically, configuring or enabling the SiYuan access auth code does NOT mitigate this vulnerability, as the loopback bypass is applied before the auth code gate; defenders should not rely on this control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) is a self-hosted personal knowledge management application whose backend runs as a local kernel service accessible over HTTP. The CheckAuth function implements CWE-290 (Authentication Bypass by Spoofing): it uses the request's RemoteAddr field as an implicit credential, granting the RoleAdministrator role to any request originating from 127.0.0.1. This check is applied to the endpoint set /api/system/exit, getNetwork, getWorkspaceInfo, /assets/*, and /export/*, and critically is evaluated outside the standard access auth code gate - meaning the application's own passcode protection does not cover these paths. Compounding the issue, SiYuan's fixed-port reverse proxy forwards external HTTP requests to the kernel over loopback without injecting an Authorization header and without marking itself as a trusted proxy, so the kernel cannot distinguish between genuine local requests and proxy-forwarded external ones using RemoteAddr alone.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AV:L aligns with the primary local exploitation path and the unconfirmed remote scenario; PR:N because authentication is bypassed entirely; C:H for notebook/file exfiltration via /export/*, A:H for forced application exit, I:L for limited write impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
SiYuan versions through 3.7.2 contain an authentication bypass granting unauthorized administrator access to affected systems; no public exploit identified at time of analysis. The vulnerability enables complete system compromise and data theft if exploited. Organizations must urgently deploy version 3.7.4 to address this risk.
Apply vendor patch: v3.7.4
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
Same weakness CWE-290 – Authentication Bypass by Spoofing
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-57410
GHSA-8wx9-j7j5-h9vp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB