CVE-2026-69084 SiYuan before v3.7.3 SQL Injection via searchEmbedBlock
CriticalCVSS 9.9
EPSS 1.6%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel | < 3.7.3 | 3.7.3 | Fixed |
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 0.0.0-20260721002947-23a17d44b5f3 | 0.0.0-20260721002947-23a17d44b5f3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note github.com/siyuan-note/siyuan/kernel(Go) | < 0.0.0-20260721002947-23a17d44b5f3 | 0.0.0-20260721002947-23a17d44b5f3 |
| siyuan-note github.com/siyuan-note/siyuan/kernel | < 3.7.3 | 3.7.3 |
References
- GitHub Security Advisory (GHSA-vh22-h7hf-www7) vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- VulnCheck Advisory: SiYuan before v3.7.3 SQL Injection via searchEmbedBlock third-party-advisory
- github.com
- ENISA EUVD EUVD-2026-52277 third-party-advisory