ZeroHour

CVE-2026-72810

niche

SiYuan publish-mode WebSocket broadcasts protected document edits to anonymous readers

CVSS 4.0
9.2 critical
EPSS
<1%p24
Published
()
Modified
AI analysis

CVE-2026-72810 is a missing-authorization flaw (CWE-862) in SiYuan's publish mode: WebSocket sessions admitted through the publish surface on port 6808, including anonymous RoleReader sessions when Publish.Auth.Enable is false, are registered into the same broadcast session pool as authenticated sessions, and the kernel's broadcast functions push content events to every pooled session without any role or publish-access filtering. An attacker needs no credentials: they connect to the /ws route on the publish port and hold the socket open while any user edits documents. The attacker then passively receives a real-time feed of all edit events, including transactions with rendered block DOM, document create/save, and move/rename events, covering password-protected, publish-forbidden, and unpublished documents; because these events are pushed directly from the edit pipeline, none of the HTTP publish-access filters apply. Any SiYuan deployment with publish mode enabled on port 6808 is exposed, with anonymous access sufficient when publish authentication is disabled, as demonstrated in the reported local reproduction. No exploitation is currently reported: there is no known public PoC or in-the-wild use, the issue is not in CISA KEV, and EPSS assigns it a 0.3% probability of exploitation in the next 30 days.

What to do: Until a patched release is available, restrict network access to the publish port (6808) at the firewall or reverse proxy and enable publish authentication (Publish.Auth.Enable) so anonymous WebSocket clients cannot connect to /ws. Because the leak bypasses the HTTP publish-access filters entirely, verify that password-protected, publish-forbidden, or confidential notebooks are not present in workspaces being published, and monitor the vendor for a fixed version.

Affected
B3log / SiYuan SiYuan (publish mode, port 6808)
Estimated exposure
nichelikely hundreds to low thousands of internet-exposed publish-mode instances (estimate; no public scan data) — No public internet-exposure scan data exists for SiYuan's publish service, so the estimate assumes only a small fraction of SiYuan's self-hosted install base runs the optional publish surface on an internet-reachable port 6808 with…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

SiYuan versions before v3.7.4 contain a publish-boundary bypass vulnerability in WebSocket broadcast sessions that allows anonymous readers to receive unfiltered edits. Attackers can establish a WebSocket connection to the publish surface and passively receive real-time content events including password-protected and forbidden documents without authentication.

Ecosystems
go
Weakness
CWE-862
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GHSA
GHSA-mw8r-mw84-88v2 (high)

In the news

No ingested article mentions this CVE yet.