Skip to content
Threat Feed
critical threat exploited PoC

SQL Injection in SiYuan via /api/search/searchEmbedBlock

SiYuan versions 3.7.2 and earlier contain a critical SQL injection vulnerability in the /api/search/searchEmbedBlock endpoint, allowing unauthenticated or low-privileged users to execute stacked SQL queries and modify database content.

CVE search metadata

CVE search record: CVE-2026-69084. Severity: critical. CVSS: 10.0. EPSS: 0.29%. KEV: no. Product: SiYuan (<= 3.7.2), SiYuan (< 3.7.3). Brief: SQL Injection in SiYuan via /api/search/searchEmbedBlock. Brief link: https://feed.craftedsignal.io/briefs/2026-08-siyuan-sqli/

CVE search record: CVE-2026-69085. Severity: critical. CVSS: 10.0. EPSS: 0.25%. KEV: no. Product: SiYuan (<= 3.7.2), SiYuan (< 3.7.3). Brief: SQL Injection in SiYuan via /api/search/searchEmbedBlock. Brief link: https://feed.craftedsignal.io/briefs/2026-08-siyuan-sqli/

What's new

  • 1. poc_available; added CVE-2026-69085 Aug 9, 21:32 via sploitus

SiYuan versions v3.7.2 and earlier are affected by a critical SQL injection vulnerability identified as CVE-2026-69084. The application exposes the /api/search/searchEmbedBlock endpoint, which fails to sanitize client-supplied SQL statements before passing them to the main read-write siyuan.db database handle. The implementation does not enforce read-only or admin-level restrictions on this endpoint, and it improperly validates authorization via the CheckAuth function.

Consequently, the vulnerability is accessible to users with minimal privileges, such as those holding a 'RoleReader' token, or even to anonymous users if publish authentication is disabled. Because the underlying database driver supports stacked queries, an attacker can execute arbitrary SQL commands. This allows for unauthorized reading and modification of data stored in all unencrypted notebooks within the SiYuan environment. The issue is resolved in version v3.7.3.

Impact

The successful exploitation of this vulnerability grants attackers the ability to read and modify sensitive content within unencrypted notebooks. Given the base CVSS score of 10.0, the impact is comprehensive regarding data integrity and confidentiality for the affected application instances. Any environment utilizing an outdated version of SiYuan, particularly those with enabled publish features, is at significant risk of unauthorized data manipulation.

Recommendation

  • Upgrade all SiYuan installations to version v3.7.3 or later immediately to patch CVE-2026-69084.
  • Audit webserver access logs for POST or GET requests targeting the /api/search/searchEmbedBlock path, specifically looking for anomalous query parameters containing SQL syntax (e.g., semicolons, 'DROP', 'UPDATE', 'UNION').
  • Ensure that publish authentication is strictly enforced in any environment where SiYuan is exposed to a network.
  • Monitor for unauthorized database modifications that deviate from standard user activity logs.

Immediate actions

Upgrade all instances of SiYuan to v3.7.3.

IT Operations 24h

Threat Hunt

Search logs for POST/GET requests to /api/search/searchEmbedBlock with SQL delimiters.

T1190 high high confidence hunt now

Data: Web server access logs

Mitigations

Enforce strict authentication and block unauthorized access to the application API.

immediate IT Operations

CVE-2026-69084

Detection coverage 1

Detects CVE-2026-69084 Exploitation - SQL Injection in /api/search/searchEmbedBlock

critical

Detects exploitation of CVE-2026-69084 by identifying suspicious SQL metacharacters or stacked query indicators in requests to the vulnerable searchEmbedBlock endpoint.

sigma tactics: execution, initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →

Indicators of compromise

1

url

TypeValue
urlhttps://sploitus.com/exploit?id=EFAE4382-8B52-52E8-B2F7-900D05C3A218