CVE-2026-72811siyuan-note siyuan
Critical 9.9 No auth needed
Follow: this CVE · siyuan-note · siyuan-note siyuan We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 4.0
- 9.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 14, 2026
- Updated
- Aug 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an anonymous or RoleReader user on the publish surface) or in stored document metadata (second-order) breaks out of the string literal. Because the query runs on the main read-write siyuan.db handle via a statement-stacking-capable driver, an attacker can execute arbitrary SQL, enabling cross-notebook read and write. Fixed in v3.7.4.
What to do
- Apply the vendor's security update for siyuan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260723004839-1a5b3431d5ab |
0.0.0-20260723004839-1a5b3431d5ab |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260723004839-1a5b3431d5ab |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260723004839-1a5b3431d5ab |
0.0.0-20260723004839-1a5b3431d5ab |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260723004839-1a5b3431d5ab |
Per OSV / GitHub Advisories (GHSA-q2vg-7qgx-x5fc, GO-2026-6402). Check the version in your lockfile before upgrading.
Affected products
- siyuan-note · siyuan
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21897-1 · Sep 21, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23855-1 · Sep 21, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23863-1 · Sep 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.