Live threats

All CVEs / siyuan-note

CVE-2026-72811siyuan-note siyuan

Critical 9.9 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for siyuan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.