CVE-2026-69084
CRITICAL 9.9CVSS 4.0SiYuan: Unauthenticated arbitrary SQL execution via searchEmbedBlock (publish mode) : reader-reachable raw statement on read-write handle, cross-notebook read/write
SiYuan versions <= v3.7.2 expose the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement verbatim to the main read-write siyuan.db handle with no single-statement, read-only, or admin restrictions. The endpoint is gated only by CheckAuth, making it reachable by the publish RoleReader token and by anonymous users when publish authentication is disabled. Because the underlying driver executes stacked statements, an attacker can read and modify content across all opened cleartext notebooks (encrypted per-box notebooks are excluded). Fixed in v3.7.3.
- Published
- 3 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-vh22-h7hf-www7GO-2026-6377
- Sources
- NVDJSONOSV GHSA-vh22-h7hf-www7JSONOSV GO-2026-6377JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/siyuan-note/siyuan/kernel | < 0.0.0-20260721002947-23a17d44b5f3 | 0.0.0-20260721002947-23a17d44b5f3 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vh22-h7hf-www7 · WEB, ADVISORY
- https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchembedblock · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-69084 · ADVISORY
- https://github.com/siyuan-note/siyuan/commit/0015cbafbf685363b217bbc46283a3c0f51c79fa · WEB
- https://github.com/siyuan-note/siyuan/commit/23a17d44b5f3da59c85e7fbee11236e6c12386b9 · WEB
- https://github.com/siyuan-note/siyuan · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 3 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Sep 2026)