PT-2026-71981 · Siyuan · Siyuan

·

CVE-2026-72811

·

Published

2026-08-14

·

Updated

2026-09-10

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions SiYuan versions prior to 3.7.4
Description A SQL injection issue exists in the backlink/mention search query within kernel/model/backlink.go. The application concatenates stored block metadata (title, name, alias, anchor text) and a client-supplied keyword into a SQL MATCH/search statement, escaping only double-quote characters and failing to escape single quotes. A single quote in the client keyword or stored document metadata allows an attacker to break out of the string literal. Since the query uses a statement-stacking-capable driver on the main read-write siyuan.db handle, an attacker can execute arbitrary SQL, enabling unauthorized read and write access across notebooks. This is reachable by anonymous users or those with RoleReader permissions on the publish surface.
Recommendations Update to version 3.7.4.

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-72811
GHSA-P8CP-78HP-WMQ8
GHSA-Q2VG-7QGX-X5FC
GO-2026-6402

Affected Products

Siyuan