Vulnerability · Published Aug 12, 2026 · Assigned by VulnCheck

CVE-2026-72807SiYuan before v3.7.4 SQL Injection via queryBlocks template

High 8.0

In plain English

A high-severity SQL injection in siyuan from siyuan-note. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)0.3%top 73.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim's kernel when the package is imported and rendered, enabling read and write access across notebooks.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/siyuan-note/siyuan/kernel0.0.0-20260723035036-0a176345e02aGHSA-x67c-8pwr-m8g3
Gogithub.com/siyuan-note/siyuan/kernel0.0.0-20260723035036-0a176345e02aGO-2026-6410

Affected products (as reported)

VendorProductVersions
siyuan-note siyuan 0 – before 3.7.4

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

References