CVE-2026-32815
Received Received - Intake
WebSocket Unauthorized Access in SiYuan Leaks Sensitive Data

Publication date: 2026-03-19

Last updated on: 2026-03-23

Assigner: GitHub, Inc.

Description
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the WebSocket endpoint (/ws) allows unauthenticated connections when specific URL parameters are provided (?app=siyuan&id=auth&type=auth). This bypass, intended for the login page to keep the kernel alive, allows any external client β€” including malicious websites via cross-origin WebSocket β€” to connect and receive all server push events in real-time. These events leak sensitive document metadata including document titles, notebook names, file paths, and all CRUD operations performed by authenticated users. Combined with the absence of Origin header validation, a malicious website can silently connect to a victim's local SiYuan instance and monitor their note-taking activity. This issue has been fixed in version 3.6.1.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-19
Last Modified
2026-03-23
Generated
2026-05-07
AI Q&A
2026-03-20
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
b3log siyuan to 3.6.1 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart