Authenticated arbitrary SQL execution via search endpoint
Published Mar 20, 2026 · Updated Mar 20, 2026
SQL injection in SiYuan 3.6.0 and earlier allows remote authenticated users to read, alter, or delete application data through the search API. The /api/search/fullTextSearchBlock handler passes the query value to searchBySQL when method is 2, and malformed parsed statements fall through to raw execution on the writable SQLite database. Any authenticated role, including Reader, passes CheckAuth because the endpoint omits the administrator and read-only checks, permitting database corruption or service interruption.
Summary
What happened
SQL injection in SiYuan 3.6.0 and earlier allows remote authenticated users to read, alter, or delete application data through the search API. The /api/search/fullTextSearchBlock handler passes the query value to searchBySQL when method is 2, and malformed parsed statements fall through to raw execution on the writable SQLite database. Any authenticated role, including Reader, passes CheckAuth because the endpoint omits the administrator and read-only checks, permitting database corruption or service interruption.
The record
- CVE
- CVE-2026-32767
- Published
- Mar 20, 2026
- Updated
- Mar 20, 2026
- Vendor
- SiYuan Note
- Product
- SiYuan
- Classifications
- CWE-89, CWE-863, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 20, 2026CVE publishedPublication date reported by the CVE source.
- Mar 20, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 3.6.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-j7wh-x834-p3r7 SQL execution proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo