6.9medium
SiYuan before v3.7.4 Authentication Bypass via Attribute View
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-6mcf-g667-w3qvGO-2026-6388
Description
SiYuan versions before v3.7.4 contain an authentication bypass vulnerability in the FilterViewByPublishAccess filter that fails to check publish password protection when rendering attribute views and database rows. Unauthenticated readers can access password-protected document rows including titles, block IDs, and column values by calling renderAttributeView without supplying the required password.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| siyuan-note siyuan | before 3.7.4 Not affected: 3.7.4 | CVE List |
| github.com/siyuan-note/siyuan/kernel (Go) | before 0.0.0-20260723040913-768427f20f13 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N |
| VulnCheck | 5.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
| GitHub | 5.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
SiYuan versions before v3.7.4 contain an authentication bypass vulnerability in the FilterViewByPublishAccess filter that fails to check publish password protection when rendering attribute views and database rows. Unauthenticated readers can access password-protected document rows including titles, block IDs, and column values by calling renderAttributeView without supplying the required password.
GitHub Advisory Database
CVE: This vulnerability corresponds to CVE-2026-72806.
Summary
FilterViewByPublishAccess, the filter renderAttributeView applies for Reader sessions drops rows using only the hidden/forbidden check and never checks the publish password. Its three sibling filters all check both tiers. As a result, a publish RoleReader (or the anonymous account when Publish.Auth.Enable is false) who has not entered a document's password still receives every database/attribute-view row bound to that password-protected document, the primary cell (title/ID) and all column values.
Details
FilterViewByPublishAccess (model/publish_access.go:290) drops rows on the hidden/forbidden tier only:
// Table (line 311), Gallery (348), Kanban (385), all identical:
if !CheckPathAccessableByPublishIgnore(bt.BoxID, bt.Path, publishIgnore) {
row = nil // hidden/forbidden dropped, but password NEVER checked
}
The three sibling filters all check both the hidden/forbidden tier and the password tier (password == "" || CheckPublishAuthCookie(...)):
FilterBlockAttributeViewKeysByPublishAccess(line 412)FilterBlockInfoByPublishAccess(line 457)FilterContentByPublishAccess(line 474)
So the password (protected) tier is enforced everywhere except this AV/database-view filter. Table layout masks nothing; Gallery and Kanban mask only the cover, keeping the card and its non-cover values. Reachable via renderAttributeView, getAttributeViewKeys, and renderSnapshotAttributeView, all CheckAuth-only.
Proof of Concept
Reproduced on a live instance (publish mode on 6808, anonymous Reader, no password cookie), against a password-protected document with a database/AV row.
| Check | Path | Result |
|---|---|---|
| Control | getDoc(secretDoc) | 馃敀 placeholder, body withheld password gate works normally |
| Test | renderAttributeView(AV) | row leaked : blockID=鈥k7jofz, title secret-db-row |
Differential (disable=true) | same filter | 0 rows : hidden tier correctly enforced |
| Differential (password set) | same filter | 1 row : password tier bypassed |
Same filter, same document, same Reader: the hidden tier drops the row, the password tier leaks it isolating the omission.
Impact
An anonymous/Reader publish user who has not supplied a protected document's password receives all attribute-view/database rows bound to that document titles, block IDs, and column values defeating the publish-password control for database views. Confidentiality-only. The hidden/forbidden tier is unaffected (correctly enforced).
Suggested fix
Add the password check to the drop condition in all three layout branches (Table, Gallery, Kanban), mirroring the sibling filters:
if !CheckPathAccessableByPublishIgnore(...) ||
!(password == "" || CheckPublishAuthCookie(c, passwordID, password)) {
row = nil
}
Go Vulnerability Database
SiYuan: Password (protected) tier omitted in the attribute-view/database publish filter: Reader receives rows of protected documents without the password (publish mode) in github.com/siyuan-note/siyuan/kernel
NVD (es)
Las versiones de SiYuan anteriores a la v3.7.4 contienen una vulnerabilidad de omisi贸n de autenticaci贸n en el filtro FilterViewByPublishAccess que no verifica la protecci贸n con contrase帽a de publicaci贸n al renderizar vistas de atributos y filas de base de datos. Lectores no autenticados pueden acceder a filas de documentos protegidas con contrase帽a, incluyendo t铆tulos, IDs de bloque y valores de columna, al llamar a renderAttributeView sin proporcionar la contrase帽a requerida.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72806 changed 2026-08-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6mcf-g667-w3qv changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6388 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-72806 changed 2026-10-24 | Public domain |