Skip to main content
VulnerabilityPublished Updated

github.com/siyuan-note/siyuan/kernel · Kernel: Duplicate Advisory: Unauthenticated arbitrary SQL execution via searchEmbedBlock (publish mode) : reader-reachable raw statement on read-write handle, cross-notebook read/write

Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database

0

CVSS 10.0 Critical · fixed in 3.7.3 : patch github.com/siyuan-note/siyuan/kernel as a priority.

Data as of 7 Sep 2026, 12:22 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

What to do

Affected software

ProductAffectedFixed in
Gogithub.com/siyuan-note/siyuan/kernelAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade SiYuan to version v3.7.3 or later, where this vulnerability is fixed. Until the upgrade, restrict access to the /api/search/searchEmbedBlock endpoint by enforcing strict authentication and disabling publish mode if possible. Review and monitor access controls related to the publish RoleReader token. Patch status is confirmed fixed in v3.7.3.

Description

SiYuan versions up to and including v3.7.2 have a critical SQL injection vulnerability in the /api/search/searchEmbedBlock endpoint. This endpoint executes client-supplied SQL statements directly on the main read-write database handle without restrictions, allowing unauthenticated attackers or those with limited publish RoleReader access to read and modify content across all opened cleartext notebooks. The vulnerability is fixed in version v3.7.3.

References

Community reviews

Loading reviews…