Skip to content
CVSS 10.0CVSS 10.0 · CRITICAL

CVE-2026-69084Inyección SQL en SiYuan permite manipulación de datos

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.

Ver en NVD

Análisis

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.

Roles relevantes

SqlBackendCyberSecurity

Severidad

Puntaje: 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
Tipo de falla (CWE): CWE-89

EPSS

Sin puntaje EPSS aún (CVE muy reciente).

Descripción técnica

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.

Publicada: 3/8/2026, 14:16:28
Última modificación: 3/8/2026, 14:16:28

Referencias

InicioEventosBlogRecursosCursosEquipo