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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-59834— SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content

CVSS 7.5 · High EPSS 0.38% · P31

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProductVersion RangeStatus
siyuan-notesiyuan< 3.7.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-59834

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: SQL Query in Block Search Exposes Hidden Published Document Content
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the block search endpoint POST /api/search/fullTextSearchBlock concatenates attacker-controlled paths values into SQL predicates used by non-SQL search modes, allowing an unauthenticated publish visitor to inject a UNION SELECT and return rows from hidden documents by projecting an allowed visible box and path. This issue is fixed in versions 3.7.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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.1之前版本存在SQL注入漏洞,该漏洞源于POST /api/search/fullTextSearchBlock端点将攻击者控制的paths值拼接到SQL谓词中,可能导致未经身份验证的发布访客注入UNION SELECT并返回隐藏文档中的行。
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

VendorProductAffected VersionsCPESubscribe
siyuan-notesiyuan < 3.7.1 -

II. Public POCs for CVE-2026-59834

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 6577 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-59834

登录查看更多情报信息。

Patches & Fixes for CVE-2026-59834 (2)

Vendor Advisories for CVE-2026-59834 (1)

Vendor Pages for CVE-2026-59834 (1)

Same Patch Batch · siyuan-note · 2026-07-09 · 6 CVEs total

CVE-2026-598327.7 HIGHSiYuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks co
CVE-2026-598536.5 MEDIUMSiYuan: Publish-mode Reader can exfiltrate private saved-search Criteria via /api/storage/
CVE-2026-598544.9 MEDIUMSiYuan: Incomplete IsSensitivePath denylist: globalCopyFiles reads home-dir credential dot
CVE-2026-59833SiYuan: Stored XSS to RCE in SiYuan via a per-attribute URL-scheme sanitizer gap in Lute (
CVE-2026-59855SiYuan: Store XSS To Rce via Asset.render

IV. Related Vulnerabilities

V. Comments for CVE-2026-59834

No comments yet


Leave a comment