Vulnerability · Published Aug 3, 2026 · Assigned by VulnCheck
CVE-2026-69084SiYuan before v3.7.3 SQL Injection via searchEmbedBlock
Critical 10.0
In plain English
A critical-severity SQL injection in siyuan from siyuan-note. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | 0.0.0-20260721002947-23a17d44b5f3 | GHSA-vh22-h7hf-www7 |
| Go | github.com/siyuan-note/siyuan/kernel | 0.0.0-20260721002947-23a17d44b5f3 | GO-2026-6377 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 – before 3.7.3 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
References
- GitHub Security Advisory (GHSA-vh22-h7hf-www7) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.7.3 SQL Injection via searchEmbedBlock third-party-advisory