CVE-2026-69085: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan
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.
AI Analysis
Technical Summary
CVE-2026-69085 describes a SQL injection vulnerability in SiYuan note-taking software before version 3.7.3. The vulnerability exists in the /api/filetree/searchDocs endpoint where the keyword parameter is concatenated directly into SQL queries without escaping or parameter binding. The endpoint can be accessed with a publish RoleReader token or unauthenticated if publish mode is enabled without authentication. Because the underlying SQLite driver supports stacked SQL statements on a read-write handle, an attacker can execute arbitrary SQL commands to read and modify database content across all unencrypted notebooks on the instance.
Potential Impact
Successful exploitation allows an attacker with minimal or no privileges to execute arbitrary SQL commands on the application's database. This can lead to unauthorized reading and modification of all cleartext notebook data stored in the database, compromising confidentiality and integrity of user data. The vulnerability has a CVSS 4.0 base score of 9.9, indicating critical severity with network attack vector, no privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or disable publish mode or ensure Publish.Auth.Enable is set to true to require authentication. Avoid exposing the vulnerable endpoint to untrusted users. Monitor vendor channels for updates and apply official patches once released.
CVE-2026-69085: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan
Description
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.
CVSS v4.0
Score 9.9critical
Affected software
siyuan-note
siyuan
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-69085 describes a SQL injection vulnerability in SiYuan note-taking software before version 3.7.3. The vulnerability exists in the /api/filetree/searchDocs endpoint where the keyword parameter is concatenated directly into SQL queries without escaping or parameter binding. The endpoint can be accessed with a publish RoleReader token or unauthenticated if publish mode is enabled without authentication. Because the underlying SQLite driver supports stacked SQL statements on a read-write handle, an attacker can execute arbitrary SQL commands to read and modify database content across all unencrypted notebooks on the instance.
Potential Impact
Successful exploitation allows an attacker with minimal or no privileges to execute arbitrary SQL commands on the application's database. This can lead to unauthorized reading and modification of all cleartext notebook data stored in the database, compromising confidentiality and integrity of user data. The vulnerability has a CVSS 4.0 base score of 9.9, indicating critical severity with network attack vector, no privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or disable publish mode or ensure Publish.Auth.Enable is set to true to require authentication. Avoid exposing the vulnerable endpoint to untrusted users. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-03T10:42:57.736Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a7098b1bf32cb7a34a8231c
Added to database: 08/03/2026, 13:33:37 UTC
Last enriched: 08/10/2026, 15:23:51 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.