Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Nov 8, 2026

CVE-2026-69085 Scanner

CVE-2026-69085 Scanner - SQL Injection vulnerability in SiYuan

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
9
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.9
CVSScritical
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
siyuanby siyuan-note
AFFECTED< 3.7.3→SAFE ✓≥ 3.7.3
Updated Nov 6, 2026View on NVD →
Detail

SiYuan is an open-source, self-hosted note-taking application that caters to users who value privacy and full control over their data. It is widely used by individuals, small businesses, and enthusiasts for managing their personal and professional notes. The application allows for real-time collaboration and offers extensive customization, which makes it highly popular among developers and technical users. SiYuan is built to integrate with other services, making it a flexible tool for a variety of knowledge management needs. It supports markdown editing and offers features like version control, making it a robust system for documentation. Its community-driven development approach has fostered a loyal user base that actively contributes to its evolution by providing feedback and new ideas.

The vulnerability detected in SiYuan before version 3.7.3 is a SQL Injection, a serious security flaw. SQL Injection allows attackers to manipulate database queries by injecting malicious SQL code. This vulnerability is particularly dangerous as it gives attackers access to the database, potentially exposing or altering sensitive information. The flaw stems from improper input validation concerning the keyword parameter in the /api/filetree/searchDocs endpoint. Attackers can exploit this to execute arbitrary SQL commands, thereby compromising data integrity. This vulnerability can be triggered without authentication in publish mode, which significantly increases its risk factor.

Technical details of the SQL Injection vulnerability involve the /api/filetree/searchDocs endpoint where the keyword parameter is improperly sanitized. Attackers can include specially crafted SQL payloads to perform a union select operation in the SQL query. This bypasses typical authentication measures, allowing unauthorized access to database records. The vulnerable parameter allows attackers to read or alter data in SiYuan's database by injecting SQL code. An example payload might include manipulation of the SQLite version to extract sensitive data. This vulnerability is exacerbated by the fact that it can affect all notebooks stored within the SiYuan application that has opted for publish mode.

Exploitation of this vulnerability could have severe consequences, including unauthorized reading or modification of database entries which can lead to data theft or loss. By gaining access to the databases, attackers could extract sensitive user information or alter existing records, potentially leading to breaches of confidential data. It could also undermine the integrity of the data stored in the application, impacting its reliability. In severe cases, this could lead to service disruptions, erroneous data processing, and loss of user trust. Additionally, exploiting this vulnerability could allow attackers to plant persistent backdoors into the database or application.

REFERENCES

Solution Advice
  • Update to version 3.7.3 or later to patch the vulnerability.
  • Implement input validation and sanitization to prevent injection attacks.
  • Restrict access to critical endpoints to authenticated users only.
  • Regularly audit and test your application for security vulnerabilities.
  • Ensure logging and monitoring is in place to detect unusual database activity.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.