CVE-2026-69085: SiYuan before v3.7.3 SQL Injection via searchDocs

Published Aug 3, 2026
·
Updated

SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs endpoint, where the caller-supplied keyword parameter is concatenated directly into SQL statements with no escaping or parameter binding. The endpoint is reachable by a publish RoleReader token, or unauthenticated when publish mode is enabled with Publish.Auth.Enable set to false. Because the statement executes on a read-write SQLite handle via a driver that supports stacked (semicolon-separated) statements, an attacker can read and modify database content across all cleartext (non-encrypted) notebooks on the instance.

Affected Software

1 affected component
SiYuan<3.7.3

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.3
  2. Configuration

    If possible, set Publish.Auth.Enable to true (so the /api/filetree/searchDocs endpoint is not reachable unauthenticated when publish mode is enabled).

    SiYuan Publish.Auth Enable = false
  3. Configuration

    Ensure the /api/filetree/searchDocs endpoint is reachable only via a publish RoleReader token (avoid unauthenticated access via publish mode).

    SiYuan /api/filetree/searchDocs endpoint access publish mode authentication requirement = require RoleReader token

Event History

Aug 3, 2026
CVE Published
via MITRE·01:20 PM
Data Sourced
via MITRE·01:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 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-69085?

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

2

How do I fix CVE-2026-69085?

To fix CVE-2026-69085, upgrade to SiYuan version 3.7.3 or later, which addresses the SQL injection vulnerability.

3

What type of vulnerability is CVE-2026-69085?

CVE-2026-69085 is an SQL injection vulnerability affecting SiYuan before version 3.7.3.

4

What impact does CVE-2026-69085 have?

CVE-2026-69085 allows attackers to execute arbitrary SQL queries, potentially leading to data compromise.

5

Who is affected by CVE-2026-69085?

Users of SiYuan versions prior to 3.7.3 are affected by CVE-2026-69085, particularly those utilizing the /api/filetree/searchDocs endpoint.

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