{"id":"CVE-2026-100646","aliases":["CVE-2026-100646"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan before v3.8.4 Authentication Bypass via Missing Origin Header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-26T13:23:17.483Z","modified":"2026-09-30T15:21:53.333Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-346"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.8.4","status":"affected"},{"type":"semver","version":"3.8.4","status":"unaffected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2w6q-wgc8-q743","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.4-authentication-bypass-via-missing-origin-header","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["kta1kri"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-30T14:46:38.827Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100646","url":"https://www.cve.org/CVERecord?id=CVE-2026-100646","licence":"CVE Terms of Use","modified":"2026-09-30T14:47:14.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100646","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100646","licence":"Public domain","modified":"2026-09-30T15:21:53.333Z"}],"updatedAt":"2026-11-25T22:59:41.211Z","epss":{"score":0.00263,"percentile":0.11135,"date":"2026-11-30T12:00:22.000Z"}}