CVE-2026-32767 json
SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
published 2026-03-16 7 mo ago modified 2026-06-17 4 mo ago also GHSA-j7wh-x834-p3r7 , GO-2026-4716 , EUVD-2026-13418
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- b3log siyuan 3.6.1
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260326T203309-150000.1.155.2
suse advisories SUSE-SU-2026:1135-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/siyuan-note/siyuan/kernel | <=0.0.0-20260313024916-fd6526133bb3 all versions |
no fix listed |
Affected products
- siyuan-note siyuan
Classification
References
-
github.com
/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5
web, patch
-
github.com
/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
exploit, web, mitigation, vendor-advisory, advisory
-
github.com
/siyuan-note/siyuan/issues/17209
web, issue-tracking
-
github.com
/siyuan-note/siyuan/releases/tag/v3.6.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-32767
advisory
-
github.com
/siyuan-note/siyuan
package
Sources
- CVE List CVE-2026-32767
- GitHub Advisory GHSA-j7wh-x834-p3r7
- NVD CVE-2026-32767
- OSV GO-2026-4716
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.