CVE-2026-59834 json
SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content
published 2026-07-09 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42742 , GHSA-h89q-4j2h-7h88 , GO-2026-6353
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the block search endpoint POST /api/search/fullTextSearchBlock concatenates attacker-controlled paths values into SQL predicates used by non-SQL search modes, allowing an unauthenticated publish visitor to inject a UNION SELECT and return rows from hidden documents by projecting an allowed visible box and path. This issue is fixed in versions 3.7.1.
Patch / fix
- go github.com/siyuan-note/siyuan/kernel 0.0.0-20260704035518-d0f0fe146fb0
- b3log siyuan 3.7.1
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260916T180043-160000.1.1
suse advisories SUSE-SU-2026:23855-1SUSE-SU-2026:23863-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260916T180043-160000.1.1
opensuse advisories openSUSE-SU-2026:21897-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h89q-4j2h-7h88 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/siyuan-note/siyuan/kernel | <0.0.0-20260704035518-d0f0fe146fb0 |
0.0.0-20260704035518-d0f0fe146fb0 |
Affected products
- siyuan-note siyuan
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/siyuan-note/siyuan/commit/57bcad4b331836880bfe6be25d4180bdcf10db0d
web
-
github.com
/siyuan-note/siyuan/commit/d0f0fe146fb07d594fcadc4f48d4f7c30ac01d1e
web
-
github.com
/siyuan-note/siyuan/security/advisories/GHSA-h89q-4j2h-7h88
exploit, web, advisory
-
github.com
/siyuan-note/siyuan/releases/tag/v3.7.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-59834
advisory
-
github.com
/siyuan-note/siyuan
package
Sources
- CVE List CVE-2026-59834
- GitHub Advisory GHSA-h89q-4j2h-7h88
- NVD CVE-2026-59834
- OSV GO-2026-6353
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.