Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Siyuan's block search endpoint (fullTextSearchBlock) builds SQL from attacker-controlled paths[] values, affecting Go module github.com/siyuan-note/siyuan/kernel at versions before 0.0.0-20260704035518-d0f0fe146fb0. Through the publish service, an unauthenticated visitor can inject SQL that returns block content from hidden documents, because the publish access filter checks only the returned box and path. An attacker can read private note content that publish visibility controls are meant to hide. Upgrade to 0.0.0-20260704035518-d0f0fe146fb0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0048, the 41st percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:13 UTC First seen by agentprime
- 31 Oct 2026, 14:13 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-h89q-4j2h-7h88
- OSV: GHSA-h89q-4j2h-7h88
- github.com/siyuan-note/siyuan/security/advisories/GHSA-h89q-4j2h-7h88
- nvd.nist.gov/vuln/detail/CVE-2026-59834
- github.com/siyuan-note/siyuan/commit/57bcad4b331836880bfe6be25d4180bdcf10db0d
- github.com/siyuan-note/siyuan/commit/d0f0fe146fb07d594fcadc4f48d4f7c30ac01d1e
- github.com/siyuan-note/siyuan
- github.com/siyuan-note/siyuan/releases/tag/v3.7.1