CVE-2026-72807

High

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.

SeverityHigh
CVSS8.0
Exploit probability—
ProductGithub.com/siyuan-note/siyuan/kernel
PublishedAug 12, 2026
First seenAug 12, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • github.com/siyuan-note/siyuan/kernel0.0.0-20260723035036-0a176345e02a or later

Affected products

ProductAffected versionsFixed in
github.com/siyuan-note/siyuan/kernelGov < 0.0.0-20260723035036-0a176345e02a0.0.0-20260723035036-0a176345e02a

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.