CVE-2026-100646
8.1 HIGHpublic exploit availablePublished 2026-09-26 · Updated 2026-09-30
AI risk analysis
- Summary
- The flaw in SiYuan allows an attacker to bypass authentication by exploiting the absence of the HTTP Origin header, granting RoleAdministrator privileges and enabling arbitrary script execution in the SiYuan origin.
- Exploitability
- Exploitation is relatively easy as it requires only a single cross-site GET request from an attacker-controlled web page, with no prerequisites other than the target having a live session.
- Blast radius
- If exploited, an unauthenticated attacker could execute arbitrary scripts, invoke administrator APIs, and exfiltrate the persistent kernel API token, leading to significant data loss or unauthorized access.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to SiYuan version 3.8.4 or later.
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
SiYuan is a self-hosted personal knowledge management system. In versions up to and including 3.8.3, the kernel's authentication guards (CheckAuth in kernel/model/session.go and IsSessionOriginAllowed in kernel/util/net.go) fail open when the HTTP Origin header is absent, on the incorrect assumption that any browser-initiated cross-site request carries an Origin. Because browsers omit Origin on cross-site top-level GET navigations and no-cors GET subresource loads — and the session cookie is SameSite=Lax — a single cross-site GET issued from any attacker-controlled web page is granted RoleAdministrator, both on default installations with no access-authorization code and on password-protected instances with a live session. Combined with content-type sniffing on the /api/network/proxy endpoint, which allows attacker-controlled HTML to be served under SiYuan's own origin, this permits an unauthenticated remote attacker to execute arbitrary script in the SiYuan origin (http://127.0.0.1:6806), invoke administrator APIs, and exfiltrate the persistent kernel API token. This issue is fixed in version 3.8.4.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-346
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.