Skip to content
CVSS 10.0CVSS 10.0 · CRITICAL

CVE-2026-69084SQL Injection in SiYuan allows data manipulation

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.

View on NVD

Analysis

SiYuan expone un endpoint que permite la ejecución de sentencias SQL arbitrarias directamente en su base de datos principal. Un atacante puede leer o modificar el contenido de todas las libretas de notas no cifradas de forma remota y sin necesidad de privilegios elevados. Es imperativo actualizar a la versión 3.7.3 para evitar la pérdida o alteración de información.

Relevant roles

SqlBackendCyberSecurity

Severity

Score: 10.0(CRITICAL)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
AV: NETWORK
AC: LOW
PR: NONE
UI: NONE
S: CHANGED
C: HIGH
I: HIGH
A: NONE
Weakness (CWE): CWE-89

EPSS

No EPSS score yet (CVE may be too fresh).

Technical 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.

Published: 8/3/2026, 2:16:28 PM
Last modified: 8/3/2026, 2:16:28 PM

References

HomeEventsBlogResourcesCoursesTeam