Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Web Vulnerabilities·Updated Nov 25, 2026

CVE-2026-32767 Scanner

CVE-2026-32767 Scanner - SQL Injection (SQLi) vulnerability in SiYuan

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
4.6k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
Description

SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly as a raw SQL statement to the underlying SQLite database without any authorization or read-only checks. This allows any authenticated user — including those with the Reader role — to execute arbitrary SQL statements (SELECT, DELETE, UPDATE, DROP TABLE, etc.) against the application's database. This is inconsistent with the application's own security model: the dedicated SQL endpoint (/api/query/sql) correctly requires both CheckAdminRole and CheckReadonly middleware, but the search endpoint bypasses these controls entirely. This issue has been fixed in version 3.6.1.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
siyuanby siyuan-note
< 3.6.1
Updated Nov 29, 2026View on NVD →
Detail

SiYuan is a popular note-taking and knowledge management software used by individuals and organizations for organizing and accessing information quickly. It provides a user-friendly interface and supports various document formats, enhancing productivity for teachers, writers, and researchers. The software is designed to be flexible and customizable, making it suitable for diverse applications across industries. Moreover, SiYuan allows collaborative features, enabling multiple users to work on documents simultaneously, thus promoting teamwork and efficiency. The software is especially popular among users looking for open-source and privacy-conscious alternatives for knowledge management. SiYuan is continuously updated to meet evolving user needs and improving software efficiency.

The SQL Injection (SQLi) vulnerability detected in SiYuan affects versions 3.6.0 and below. This vulnerability stems from improperly handled SQL queries in the /api/search/fullTextSearchBlock endpoint when the method=2. It allows unauthorized and potentially harmful SQL commands to be executed, leading to database manipulation. This issue can be exploited by malicious users having Reader role session, including anonymous visitors, thereby bypassing administrator checks. Consequently, the security flaw allows arbitrary SQL execution without proper authentication, representing a significant security risk. This vulnerability emphasizes the importance of input validation and secure API development practices.

Technical details of the SQL Injection vulnerability include the exposure of the /api/search/fullTextSearchBlock endpoint to raw SQL input. Specifically, the vulnerability allows the method=2 parameter to process unvalidated SQL queries. The endpoint lacks sufficient authorization checks compared to /api/query/sql, leading to a bypass of administrator privileges. This situation occurs when low-privileged sessions are used to interact with the vulnerable endpoint, allowing SQL injection. Attackers can potentially retrieve, modify, or delete database content, compromising data integrity. This vulnerability requires urgent attention due to its high severity, emphasizing the necessity for system updates and patches.

If exploited, this SQL Injection vulnerability in SiYuan could have severe consequences. Unauthorized users may execute malicious SQL commands, resulting in unauthorized database access, data leakage, or manipulation. Critical data might be exposed or altered, leading to operational disruptions or breaches of user privacy. Additionally, attackers could leverage this vulnerability to escalate privileges or inject even more dangerous commands. The integrity and availability of data stored within SiYuan could be compromised, potentially necessitating costly recovery and repair measures. The potential for misuse underscores the necessity for prompt remediation and improved authentication mechanisms.

REFERENCES

Solution Advice
  • Upgrade to SiYuan 3.6.1 or later to secure against known vulnerabilities.
  • Implement input validation mechanisms to sanitize SQL query inputs.
  • Restrict API access to trusted and authenticated users only.
  • Regularly audit and update database permissions to minimize exposure.
  • Enable comprehensive logging to detect and respond to any abnormal database activities.

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.

Browse All Tools