Skip to content
Threat Feed
critical advisory

SQL Injection in SiYuan fullTextSearchAssetContent Endpoint

SiYuan versions before 3.7.3 contain a critical SQL injection vulnerability in the fullTextSearchAssetContent endpoint, allowing unauthenticated attackers to execute arbitrary SQL commands on the backend asset-content database.

What's new

  • l2 added detection rule: Detect CVE-2026-69086 - Path Traversal in SiYuan Aug 3, 16:06 via nvd
  • l2 added detection rule: Detect CVE-2026-68587 Exploitation - Unauthorized Access to SiYuan Heading Endpoints Aug 3, 16:05 via nvd

SiYuan versions prior to 3.7.3 are vulnerable to an unauthenticated SQL injection vulnerability located in the fullTextSearchAssetContent endpoint. The vulnerability is caused by improper neutralization of special elements in input parameters, specifically when processing REGEXP clauses. An unauthenticated attacker can exploit this flaw to execute arbitrary SQL commands against the read-write asset-content database. This allows for unauthorized reading, modification, or deletion of stored notebook data. The vulnerability is considered high-risk due to the lack of required authentication and the potential for full data compromise within the application environment.

Impact

Successful exploitation allows unauthenticated attackers to perform unauthorized operations on the SiYuan database. This can result in complete loss of confidentiality and integrity for user data stored within notebooks, including the potential for mass data deletion or unauthorized exfiltration of sensitive information across all notebooks managed by the instance.

Recommendation

  1. Upgrade all SiYuan installations to version 3.7.3 or later immediately to resolve the vulnerability documented in CVE-2026-69083.
  2. Implement strict ingress filtering for the application, specifically restricting access to the fullTextSearchAssetContent API endpoint from untrusted networks.
  3. Review webserver logs for requests to the fullTextSearchAssetContent endpoint containing SQL injection markers, such as unexpected use of semicolon, comments, or REGEXP keywords in query parameters.

Immediate actions

Upgrade SiYuan to version 3.7.3 or later

IT Operations 24h

Mitigations

Restrict external access to the fullTextSearchAssetContent endpoint

immediate IT Operations

CVE-2026-69083

Detection coverage 3

Detect CVE-2026-69083 Exploitation - SQL Injection in fullTextSearchAssetContent

critical

Detects potential exploitation of CVE-2026-69083 where an unauthenticated user sends a request to the fullTextSearchAssetContent endpoint containing suspicious SQL injection patterns.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detect CVE-2026-68587 Exploitation - Unauthorized Access to SiYuan Heading Endpoints

high

Detects potential exploitation attempts of CVE-2026-68587 by monitoring for unauthorized access to sensitive heading transaction endpoints in SiYuan.

sigma tactics: collection techniques: T1592 sources: webserver

Detect CVE-2026-69086 - Path Traversal in SiYuan

high

Detects exploitation attempts against CVE-2026-69086 by identifying directory traversal sequences within the avID parameter in web requests.

sigma tactics: initial_access techniques: T1190 sources: webserver

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