Skip to content

CVE-2026-69085 SiYuan before v3.7.3 SQL Injection via searchDocs

CriticalCVSS 9.9 EPSS 1.4% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.3 3.7.3 Fixed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260721043339-eef10568384e 0.0.0-20260721043339-eef10568384e Fixed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260721043339-eef10568384e 0.0.0-20260721043339-eef10568384e
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.3 3.7.3

References