CVE-2026-54068

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the /api/icon/getDynamicIcon endpoint is explicitly excluded from authentication in SiYuan's kernel router (router.go, "不需要鉴权" -- no auth needed). When called with type=8 and a valid block id parameter, this endpoint invokes RenderDynamicIconContentTemplate, which executes a Go template that includes the querySQL and queryBlocks functions. These functions run arbitrary SELECT statements against the SiYuan SQLite database. An unauthenticated network-adjacent attacker who knows a valid block ID can exfiltrate all user note content, tags, asset references, and block attributes from the database. This vulnerability is fixed in 3.7.0.
Configurations

No configuration.

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) SiYuan es un sistema de gestión de conocimiento personal de código abierto. Antes de la versión 3.7.0, el endpoint /api/icon/getDynamicIcon está explícitamente excluido de la autenticación en el router kernel de SiYuan (router.go, ’?????’ -- no se necesita autenticación). Cuando se llama con type=8 y un parámetro de ID de bloque válido, este endpoint invoca RenderDynamicIconContentTemplate, que ejecuta una plantilla Go que incluye las funciones querySQL y queryBlocks. Estas funciones ejecutan sentencias SELECT arbitrarias contra la base de datos SQLite de SiYuan. Un atacante adyacente a la red no autenticado que conoce un ID de bloque válido puede exfiltrar todo el contenido de las notas de usuario, etiquetas, referencias de activos y atributos de bloque de la base de datos. Esta vulnerabilidad está corregida en la versión 3.7.0.

25 Jun 2026, 14:16

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gcm7-57gf-953c - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gcm7-57gf-953c -

24 Jun 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-24 22:16

Updated : 2026-10-25 23:10


NVD link : CVE-2026-54068

Mitre link : CVE-2026-54068

CVE.ORG link : CVE-2026-54068


JSON object : View

Products Affected

No product.

CWE
CWE-306

Missing Authentication for Critical Function