CVE-2026-32767
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-03-20
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.5 %
høyere enn 42 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| B3log | Siyuan | < 3.6.1 | Berørt |
| github.com/siyuan-note/siyuan | kernel (Go) | ≤ 0.0.0-20260313024916-fd6526133bb3 | Berørt |
Svakhetstype
-
CWE-863: Incorrect Authorization
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
-
CWE-89: Improper Neutralization of Special Elements used in an SQL Command
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQ…
Referanser
- 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
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
Relatert hos Berigo
Artikler
-
Nesten en tredel av sårbarhetene i ukens oversikt har ingen alvorlighetsgrad
Samme produkt
2026-08-25
Det ukentlige sårbarhetssammendraget fra CISA fører opp 3882 sårbarheter for uken som begynte 10. august. 1184 av dem står uten beregnet alvorlighets…
-
Sårbarhet i FreeBSD lar lokale brukere overskrive filer
Samme produkt
2026-06-06
CVE-2026-45257 i FreeBSDs kernel-TLS gjør at en lokal bruker med lesetilgang kan overskrive innholdet i en fil, og dermed eskalere rettigheter.
-
Fragnesia: ny rettighetseskalering i Linux-kjernen med publisert kode
Samme produkt
2026-05-14
CVE-2026-46300 lar en lokal bruker bli root. Rettelsen kom i kjernen 13. mai, men distribusjonene ligger etter.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.