CVE-2026-32815
WebSocket Unauthorized Access in SiYuan Leaks Sensitive Data
Publication date: 2026-03-19
Last updated on: 2026-03-23
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| b3log | siyuan | to 3.6.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-287 | When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability exists in SiYuan, a personal knowledge management system, in versions 3.6.0 and below. The WebSocket endpoint (/ws) allows unauthenticated connections when specific URL parameters (?app=siyuan&id=auth&type=auth) are provided. This bypass was intended to keep the kernel alive on the login page but inadvertently allows any external client, including malicious websites via cross-origin WebSocket, to connect and receive all server push events in real-time.
These server push events leak sensitive document metadata such as document titles, notebook names, file paths, and all create, read, update, and delete (CRUD) operations performed by authenticated users. Because there is no validation of the Origin header, a malicious website can silently connect to a victim's local SiYuan instance and monitor their note-taking activity without their knowledge.
This issue was fixed in version 3.6.1.
How can this vulnerability impact me? :
This vulnerability can impact you by exposing sensitive information from your SiYuan knowledge management system to unauthorized external parties. Specifically, attackers can gain access to document metadata including titles, notebook names, file paths, and all CRUD operations performed by authenticated users.
A malicious website could exploit this vulnerability to silently connect to your local SiYuan instance and monitor your note-taking activity in real-time without your consent or knowledge.
This exposure could lead to privacy breaches, data leakage, and unauthorized surveillance of your personal or professional notes.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
The vulnerability in SiYuan versions 3.6.0 and below allows unauthenticated WebSocket connections that leak sensitive document metadata. To mitigate this vulnerability immediately, upgrade SiYuan to version 3.6.1 or later where this issue has been fixed.