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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-32767— SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API

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.6.0及之前版本存在安全漏洞,该漏洞源于/api/search/fullTextSearchBlock端点存在授权绕过,可能导致任意SQL语句执行。

CVSS 9.8 · Critical EPSS 0.70% · P52
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-32767

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: Authorization Bypass Allows Arbitrary SQL Execution via Search API
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly as a raw SQL statement to the underlying SQLite database without any authorization or read-only checks. This allows any authenticated user — including those with the Reader role — to execute arbitrary SQL statements (SELECT, DELETE, UPDATE, DROP TABLE, etc.) against the application's database. This is inconsistent with the application's own security model: the dedicated SQL endpoint (/api/query/sql) correctly requires both CheckAdminRole and CheckReadonly middleware, but the search endpoint bypasses these controls entirely. This issue has been fixed in version 3.6.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:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
SiYuan 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan开源的一个隐私至上的个人知识管理系统。 SiYuan 3.6.0及之前版本存在安全漏洞,该漏洞源于/api/search/fullTextSearchBlock端点存在授权绕过,可能导致任意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)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan < 3.6.1 -

II. Public POCs for CVE-2026-32767

# 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-32767

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

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

Vendor Advisories for CVE-2026-32767 (1)

Vendor Pages for CVE-2026-32767 (1)

Same Patch Batch · siyuan-note · 2026-03-20 · 8 CVEs total

CVE-2026-32938 9.9 CRITICAL SiYuan has an Arbitrary File Read in its Desktop Publish Service
CVE-2026-32940 9.3 CRITICAL SiYuan has a SanitizeSVG bypass via data:text/xml in getDynamicIcon (incomplete fix for CV
CVE-2026-33203 7.5 HIGH SiYuan has an Unauthenticated WebSocket DoS via Auth Keepalive Bypass
CVE-2026-33476 7.5 HIGH SiYuan has an Unauthenticated Arbitrary File Read via Path Traversal
CVE-2026-33194 6.8 MEDIUM SiYuan has an Incomplete Fix for IsSensitivePath Denylist Allows File Read from /opt, /usr
CVE-2026-33067 SiYuan has Stored XSS to RCE via Unsanitized Bazaar Package Metadata
CVE-2026-33066 SiYuan has Stored XSS to RCE via Unsanitized Bazaar README Rendering

IV. Related Vulnerabilities

V. Comments for CVE-2026-32767

No comments yet


Leave a comment