CVE-2026-32767
CVE-2026-32767 — SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
9.8
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-89
- CWE-863
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /api/search/fullTextSearchBlock, /api/query/sql).
References
4 on the record
- github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
x_refsource_CONFIRM
- github.com/siyuan-note/siyuan/issues/17209
x_refsource_MISC
- github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5
x_refsource_MISC
- github.com/siyuan-note/siyuan/releases/tag/v3.6.1
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-100644 SiYuan before v3.8.4 SQL Injection via dailyNoteSavePathCVSS 7.5
- CVE-2026-72898 Metabase SQL injection via password reset endpointCVSS 10.0 · CISA KEV
- CVE-2025-54253 Adobe Experience Manager | Incorrect Authorization (CWE-863)CVSS 10.0 · CISA KEV
- CVE-2026-114625 Security Advisory 0199CVSS 9.9 · CISA KEV
- CVE-2026-123218 IBM Aspera Faspex Authorization BypassCVSS 9.8 · CISA KEV
- CVE-2026-76461 Cisco Secure Email Gateway SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Siyuan Noteevery CVE for this vendor
- CWE-89other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.