CVE-2026-69084
Received Received - Intake

SiYuan SQL Injection via Unrestricted API Endpoint

Vulnerability report for CVE-2026-69084, 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 versions <= v3.7.2 expose the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement verbatim to the main read-write siyuan.db handle with no single-statement, read-only, or admin restrictions. The endpoint is gated only by CheckAuth, making it reachable by the publish RoleReader token and by anonymous users when publish authentication is disabled. Because the underlying driver executes stacked statements, an attacker can read and modify content across all opened cleartext notebooks (encrypted per-box notebooks are excluded). Fixed in v3.7.3.

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

Showing 2 associated CPEs
Vendor Product Version / Range
siyuan siyuan to 3.7.3 (exc)
siyuan siyuan 3.7.3

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 versions up to v3.7.2 have an endpoint /api/search/searchEmbedBlock that executes raw SQL queries without restrictions. The endpoint is accessible to low-privilege users like anonymous or RoleReader, allowing attackers to read and modify data across all cleartext notebooks via stacked SQL statements.

Detection Guidance

Check SiYuan versions <= v3.7.2 for the vulnerable /api/search/searchEmbedBlock endpoint. Use curl to test if the endpoint is accessible: curl -X POST http://<target>/api/search/searchEmbedBlock -d '{"stmt":"SELECT 1"}'.

Impact Analysis

An attacker could access sensitive data stored in SiYuan notebooks, alter or delete information, or perform unauthorized actions. This includes reading notes, modifying content, or disrupting operations if the system is used for critical data storage.

Compliance Impact

This vulnerability likely violates GDPR and HIPAA due to unauthorized data access and potential data breaches. It compromises confidentiality and integrity requirements, risking non-compliance with privacy and security controls mandated by these regulations.

Mitigation Strategies

Upgrade SiYuan to v3.7.3 or later. If immediate upgrade is not possible, restrict access to the /api/search/searchEmbedBlock endpoint via network controls or disable publish authentication if not needed.

Chat Assistant

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

EPSS Chart