CVE-2026-72811: SiYuan before v3.7.4 SQL Injection via backlink search

Published Aug 14, 2026
·
Updated

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.

Affected Software

1 affected component
SiYuan<=3.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in v3.7.4

Event History

Aug 14, 2026
CVE Published
via MITRE·11:35 AM
Data Sourced
via MITRE·11:35 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72811?

The severity of CVE-2026-72811 is rated as critical with a score of 10.

2

How do I fix CVE-2026-72811?

To fix CVE-2026-72811, upgrade SiYuan to version 3.7.4 or later.

3

What type of vulnerability is CVE-2026-72811?

CVE-2026-72811 is a SQL Injection vulnerability affecting SiYuan.

4

Which versions of SiYuan are affected by CVE-2026-72811?

SiYuan versions up to and including 3.7.2 are affected by CVE-2026-72811.

5

What is the main impact of CVE-2026-72811?

The main impact of CVE-2026-72811 is potential unauthorized access to sensitive database information due to SQL injection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203