[ CVE-2026-69085 · Published 3 Aug 2026 ]

SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking

CVSS 10.0 EPSS 1%Fix available

[ Why it matters ]Priority signals

  • Public proof-of-concept exploit exists (CISA SSVC)
  • Critical severity: CVSS 10.0

[ Description ]Official description

SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs endpoint, where the caller-supplied keyword parameter is concatenated directly into SQL statements with no escaping or parameter binding. The endpoint is reachable by a publish RoleReader token, or unauthenticated when publish mode is enabled with Publish.Auth.Enable set to false. Because the statement executes on a read-write SQLite handle via a driver that supports stacked (semicolon-separated) statements, an attacker can read and modify database content across all cleartext (non-encrypted) notebooks on the instance.

[ Fixes ]Fixes and patches

[ Packages ]Affected open-source packages

  • github.com/siyuan-note/siyuan/kernel goAffected < 0.0.0-20260721043339-eef10568384e · fixed in 0.0.0-20260721043339-eef10568384e · GHSA-33jq-p8c2-q3q4