Skip to main content
Public proof of conceptFix available

CVE-2026-32767

A public proof of concept exists; no exploitation attested.

  • Published2026-03-20
  • Fixed in3.6.1
  • WeaknessCWE-863 · CWE-89

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-2606:01Nuclei detection templateProjectDiscovery

Versions per branch

NVD · OSV
B3log siyuan
BranchAffectedFixed in
3.6< 3.6.13.6.1
siyuan-note/siyuan/kernel
BranchAffectedFixed in
0.0≤ 0.0.0-20260313024916-fd6526133bb3no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • siyuan-note siyuan
    Affected
    • = < 3.6.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-03-20

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • expatCleanStartall versions · fixed in 2.7.5-r0
  • govulncheck-vulndbopenSUSE:Leap 16.0all versions · fixed in 0.0.20260723T184607-160000.1.1
  • govulncheck-vulndbopenSUSE:Leap 15.6all versions · fixed in 0.0.20260326T203309-150000.1.155.2

Full record on NVD

Fix

  1. Update B3log siyuan to 3.6.1

Advisories and patches

Detection

read 2026-11-26 11:35 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-03-20
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-j7wh-x834-p3r7

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.

Is CVE-2026-32767 actively exploited?

A proof-of-concept exploit exists for CVE-2026-32767, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-32767?

CVE-2026-32767 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running expat? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record