CVE-2026-69084: Vulnerability in github.com/siyuan-note/siyuan/kernel
Critical. 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...
Go, CWE-89
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-vh22-h7hf-www7
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- Weakness
- CWE-89
- Published
- 3 Aug 2026
- Last change
- 23 Oct 2026
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- github.com/siyuan-note/siyuan/kernel Go, Affected before 0.0.0-20260721002947-23a17d44b5f3. Fixed in 0.0.0-20260721002947-23a17d44b5f3
Advisories
Vendor and security advisories
- github.com/siyuan-note/siyuan/security/advisories/GHSA-vh22-h7hf-www7
- vulncheck.com/advisories/siyuan-before-sql-injection-via-searchembedblock
Patches and fixes
Updates, commits and release notes