CVE-2026-69084: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan
SiYuan note-taking software versions up to and including 3.7.2 contain a critical SQL injection vulnerability in the /api/search/searchEmbedBlock endpoint. This endpoint accepts client-supplied SQL statements and executes them directly on the main read-write database handle without restrictions. The vulnerability allows attackers, including unauthenticated users if publish authentication is disabled, to read and modify content across all open cleartext notebooks. The issue is fixed in version 3.7.3.
AI Analysis
Technical Summary
CVE-2026-69084 is a critical SQL injection vulnerability affecting SiYuan note-taking software versions <=3.7.2. The /api/search/searchEmbedBlock endpoint passes client-supplied SQL commands verbatim to the main read-write database handle (siyuan.db) without enforcing single-statement, read-only, or administrative restrictions. Access to this endpoint requires only CheckAuth, which can be bypassed by users with the publish RoleReader token or by anonymous users if publish authentication is disabled. The underlying database driver supports stacked SQL statements, enabling attackers to execute multiple commands, thereby reading and modifying content across all open cleartext notebooks. Encrypted per-box notebooks are not affected. The vulnerability is resolved in version 3.7.3.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary SQL commands on the main database, leading to unauthorized reading and modification of content in all open cleartext notebooks. This compromises data confidentiality and integrity. The vulnerability is exploitable remotely without authentication under certain configurations, making it highly critical.
Mitigation Recommendations
A fix is available in SiYuan version 3.7.3. Users should upgrade to version 3.7.3 or later to remediate this vulnerability. Until upgraded, restrict access to the /api/search/searchEmbedBlock endpoint and ensure publish authentication is enabled to prevent anonymous exploitation.
CVE-2026-69084: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan
Description
SiYuan note-taking software versions up to and including 3.7.2 contain a critical SQL injection vulnerability in the /api/search/searchEmbedBlock endpoint. This endpoint accepts client-supplied SQL statements and executes them directly on the main read-write database handle without restrictions. The vulnerability allows attackers, including unauthenticated users if publish authentication is disabled, to read and modify content across all open cleartext notebooks. The issue is fixed in version 3.7.3.
CVSS v4.0
Score 9.9critical
Affected software
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-69084 is a critical SQL injection vulnerability affecting SiYuan note-taking software versions <=3.7.2. The /api/search/searchEmbedBlock endpoint passes client-supplied SQL commands verbatim to the main read-write database handle (siyuan.db) without enforcing single-statement, read-only, or administrative restrictions. Access to this endpoint requires only CheckAuth, which can be bypassed by users with the publish RoleReader token or by anonymous users if publish authentication is disabled. The underlying database driver supports stacked SQL statements, enabling attackers to execute multiple commands, thereby reading and modifying content across all open cleartext notebooks. Encrypted per-box notebooks are not affected. The vulnerability is resolved in version 3.7.3.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary SQL commands on the main database, leading to unauthorized reading and modification of content in all open cleartext notebooks. This compromises data confidentiality and integrity. The vulnerability is exploitable remotely without authentication under certain configurations, making it highly critical.
Mitigation Recommendations
A fix is available in SiYuan version 3.7.3. Users should upgrade to version 3.7.3 or later to remediate this vulnerability. Until upgraded, restrict access to the /api/search/searchEmbedBlock endpoint and ensure publish authentication is enabled to prevent anonymous exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-03T10:42:57.736Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7098b1bf32cb7a34a82318
Added to database: 08/03/2026, 13:33:37 UTC
Last enriched: 08/03/2026, 13:49:38 UTC
Last updated: 08/03/2026, 17:27:38 UTC
Views: 4
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.