ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 1

Advisories

  • GHSA-gcm7-57gf-953c

    SiYuan: Unauthenticated SQLite Data Exfiltration via Template Injection in /api/icon/getDynamicIcon

    Moderate CVE-2026-54068 Go Updated 21 July 2026
  • GO-2026-5958

    SiYuan: Unauthenticated SQLite Data Exfiltration via Template Injection in /api/icon/getDynamicIcon in github.com/siyuan-note/siyuan/kernel

    CVE-2026-54068 Go Updated 21 July 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References