GHSA-j7wh-x834-p3r7 · Severity: critical · Ecosystem: go — 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.
Conclusion & alert: CVE-2026-32767 is rated High Exploit Risk (69/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.54%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.54% | +0.49% |
| 2 | 2026-03-20 | — | 0.05% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-j7wh-x834-p3r7 · Severity: critical · Ecosystem: go — SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-32767: 1 source package rows (expat); 5 state rows across 5 repos (3.20-main, 3.21-main, 3.22-main, 3.23-main, edge-main); fixed 5, open 0. | https://security.alpinelinux.org/vuln/CVE-2026-32767 |
| URL | Tags |
|---|---|
| https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5 | Patch |
| https://github.com/siyuan-note/siyuan/issues/17209 | Issue Tracking |
| https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1 | Release Notes |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7 | Exploit Mitigation Vendor Advisory |