---
title: "CVE-2026-32767: SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API"
url: https://erroneo.us/security/cve/CVE-2026-32767/
description: "CVE-2026-32767 (github.com/siyuan-note/siyuan/kernel (Go)): SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-03-20
date_modified: 2026-03-20
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-32767"
kev: false
cvss: 9.8
epss: 0.00723
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-32767: SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 53: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 53% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/siyuan-note/siyuan/kernel (Go) <= 0.0.0-20260313024916-fd6526133bb3, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/siyuan-note/siyuan/kernel` <= 0.0.0-20260313024916-fd6526133bb3 → fixed: none listed

## Affected products (CVE record)

- siyuan-note siyuan: < 3.6.1

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.72% probability of exploitation activity in the next 30 days; percentile 53.

## Sources

- [GitHub Advisory GHSA-j7wh-x834-p3r7](https://github.com/advisories/GHSA-j7wh-x834-p3r7)
- [CVE.org record CVE-2026-32767](https://www.cve.org/CVERecord?id=CVE-2026-32767)
- [NVD entry CVE-2026-32767](https://nvd.nist.gov/vuln/detail/CVE-2026-32767)
- [github.com](https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7)
- [github.com](https://github.com/siyuan-note/siyuan/issues/17209)
- [github.com](https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5)
- [github.com](https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1)

---
Source page: https://erroneo.us/security/cve/CVE-2026-32767/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
