CVE-2026-101091: SiYuan before v3.8.4 SQL Injection via Block Query Embed

Published Sep 28, 2026
·
Updated

SiYuan versions before v3.8.4 fail to properly validate SQL statements in block query embed blocks executed against siyuan.db. Attackers can craft malicious .sy documents with non-read-only SQL statements that execute automatically during background indexing, rendering, or export operations without authentication.

Affected Software

1 affected component
SiYuan SiYuan<3.8.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.8.4

Event History

Sep 28, 2026
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations are affected?

SiYuan versions before v3.8.4 are affected. Check the installed SiYuan version to determine whether the instance falls within the vulnerable range.

2

What does an attacker need to exploit this issue?

An attacker needs to craft a malicious .sy document containing a block query embed with a non-read-only SQL statement. The SQL can execute without authentication.

3

When can the malicious SQL execute?

Execution can occur automatically when the malicious document is processed during background indexing, rendering, or export operations.

4

What is the available remediation?

Upgrade SiYuan to v3.8.4 or later, since versions before v3.8.4 are affected.

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