CVE-2026-69085
Received Received - Intake

SQL Injection in SiYuan via SearchDocs Endpoint

Vulnerability report for CVE-2026-69085, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-03
AI Q&A
2026-08-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

SiYuan before v3.7.3 has a SQL injection flaw in the /api/filetree/searchDocs endpoint. The vulnerability occurs because user-supplied input in the keyword parameter is directly concatenated into SQL statements without proper escaping or parameter binding. This allows attackers to manipulate SQL queries, potentially reading or modifying database content across all unencrypted notebooks on the system.

Detection Guidance

Detect this vulnerability by checking SiYuan versions before v3.7.3 and inspecting network traffic for requests to /api/filetree/searchDocs with suspicious SQL-like payloads in the keyword parameter. No specific commands are provided in the context.

Impact Analysis

This vulnerability can allow unauthorized access to sensitive data stored in SiYuan notebooks. Attackers could read confidential information or alter database content, potentially leading to data breaches, loss of integrity, or further system compromise. The impact depends on the data stored in the notebooks and the system's configuration.

Compliance Impact

This vulnerability could lead to non-compliance with data protection regulations like GDPR or HIPAA by enabling unauthorized access to personal or sensitive health information. Organizations may face legal penalties, reputational damage, and loss of trust if such breaches occur due to inadequate security measures.

Mitigation Strategies

Upgrade SiYuan to v3.7.3 or later to patch the SQL injection flaw. Disable publish mode or set Publish.Auth.Enable to true if enabled. Restrict access to the /api/filetree/searchDocs endpoint if possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-69085. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart