CVE-2026-32767
CVE-2026-32767 is a critical-severity vulnerability in B3log Siyuan with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-13418
- Weakness: CWE-89
- Affected product: B3log Siyuan
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-32767?
- 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.
- How severe is CVE-2026-32767?
- CVE-2026-32767 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-32767 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-32767?
- CVE-2026-32767 affects B3log Siyuan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-32767?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-32767 have an EU (EUVD) identifier?
- Yes. CVE-2026-32767 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-13418.
- When was CVE-2026-32767 published?
- CVE-2026-32767 was published on 2026-03-20 and last updated on 2026-06-17.
References
- https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5
- https://github.com/siyuan-note/siyuan/issues/17209
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
Affected products (1)
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
More vulnerabilities in B3log Siyuan
- CVE-2026-32938 — Critical (CVSS 9.9): SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the…
- CVE-2026-33670 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to…
- CVE-2026-33669 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the…
- CVE-2024-55660 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig`…
- CVE-2024-53507 — Critical (CVSS 9.8): A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.
- CVE-2024-53506 — Critical (CVSS 9.8): A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs.
All CVEs affecting B3log Siyuan →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…