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

Published Aug 12, 2026
·
Updated

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 Software

1 affected component
SiYuan<3.7.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in 3.7.4
  2. Compensating control

    Prevent importing untrusted SiYuan documents/packages (especially ones containing crafted template columns that expose the queryBlocks function) until patched.

Event History

Aug 12, 2026
CVE Published
via MITRE·07:07 PM
Data Sourced
via MITRE·07:07 PM
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-72807?

The severity of CVE-2026-72807 is rated as high with a score of 8.

2

How do I fix CVE-2026-72807?

To fix CVE-2026-72807, update SiYuan to version 3.7.4 or later.

3

What type of vulnerability is CVE-2026-72807?

CVE-2026-72807 is classified as an SQL Injection vulnerability.

4

What versions of SiYuan are affected by CVE-2026-72807?

SiYuan versions before 3.7.4 are affected by CVE-2026-72807.

5

What kind of attacks can be executed using CVE-2026-72807?

CVE-2026-72807 allows attackers to execute SQL queries via malicious SiYuan documents or packages.

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