Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72811— SiYuan before v3.7.4 SQL Injection via backlink search

Quick assessment

Affected
siyuan-note siyuan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SiYuan是SiYuan团队开源的一款文档管理软件。 SiYuan 3.7.2及之前版本存在SQL注入漏洞,该漏洞源于backlink/mention搜索查询拼接存储块元数据和客户端关键字时仅转义双引号而未转义单引号,导致攻击者可执行任意SQL,实现跨笔记本读写。

CVSS 10.0 · Critical EPSS 0.44% · P36

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
siyuan-note siyuan < 3.7.4 affected
3.7.4 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72811

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SiYuan before v3.7.4 SQL Injection via backlink search
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an anonymous or RoleReader user on the publish surface) or in stored document metadata (second-order) breaks out of the string literal. Because the query runs on the main read-write siyuan.db handle via a statement-stacking-capable driver, an attacker can execute arbitrary SQL, enabling cross-notebook read and write. Fixed in v3.7.4.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
SiYuan SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan团队开源的一款文档管理软件。 SiYuan 3.7.2及之前版本存在SQL注入漏洞,该漏洞源于backlink/mention搜索查询拼接存储块元数据和客户端关键字时仅转义双引号而未转义单引号,导致攻击者可执行任意SQL,实现跨笔记本读写。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan 0 ~ 3.7.4 -

II. Public POCs for CVE-2026-72811

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-72811

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72811 (2)

Same Patch Batch · siyuan-note · 2026-08-14 · 6 CVEs total

CVE-2026-72810 8.6 HIGH SiYuan before v3.7.4 Publish-Boundary Bypass via WebSocket
CVE-2026-72812 6.5 MEDIUM SiYuan before v3.7.4 Missing Authorization via refreshBacklink
CVE-2026-73630 5.8 MEDIUM SiYuan before v3.7.4 Information Disclosure via authFilePublishAccess
CVE-2026-73049 5.8 MEDIUM SiYuan before v3.7.4 Information Disclosure via getAttributeViewBacklinks
CVE-2026-73048 5.8 MEDIUM SiYuan before v3.7.4 Information Disclosure via getRefIDsByFileAnnotationID

IV. Related Vulnerabilities

V. Comments for CVE-2026-72811

No comments yet


Leave a comment