Description
SiYuan before v3.8.4 contains a SQL injection vulnerability in the graph query endpoint where the dailyNoteSavePath parameter is concatenated into SQL without escaping. Unauthenticated attackers on published sites with auth disabled can inject SQL via UNION SELECT to extract arbitrary database rows from all notebooks.
Published: 2026-09-26
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from the graph query endpoint that concatenates the dailyNoteSavePath parameter directly into a SQL statement without proper escaping. As a result, unauthenticated users on sites that have been published with authentication disabled can inject arbitrary SQL, such as a UNION SELECT, to read the entire database. This flaw is a classic SQL injection vulnerability identified as CWE‑89 and enables attackers to exfiltrate confidential notebook contents.

Affected Systems

All deployments of SiYuan that are running any version prior to 3.8.4 are affected. The affected vendor is Siyuan‑Note as part of the Siyuan desktop and web application. No additional versioning granularity is provided beyond the pre‑3.8.4 threshold.

Risk and Exploitability

The CVSS score of 8.7 places the flaw in the high severity range, and the EPSS score is not available, which means the precise exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit it directly through the published web interface, using an unauthenticated request with a malicious dailyNoteSavePath value. Because the input is concatenated, the risk is that any notebook data can be retrieved, leading to a confidentiality breach.

Generated by OpenCVE AI on September 26, 2026 at 15:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.8.4 or later to eliminate the SQL injection flaw.
  • If an upgrade is not possible immediately, disable site publishing or enable authentication to prevent unauthenticated access.
  • Apply input validation or parameterized queries in the graph query endpoint to sanitize dailyNoteSavePath before incorporating it into SQL statements.

Generated by OpenCVE AI on September 26, 2026 at 15:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description SiYuan before v3.8.4 contains a SQL injection vulnerability in the graph query endpoint where the dailyNoteSavePath parameter is concatenated into SQL without escaping. Unauthenticated attackers on published sites with auth disabled can inject SQL via UNION SELECT to extract arbitrary database rows from all notebooks.
Title SiYuan before v3.8.4 SQL Injection via dailyNoteSavePath
First Time appeared B3log
B3log siyuan
Weaknesses CWE-89
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-26T13:23:16.086Z

Reserved: 2026-09-26T02:32:35.659Z

Link: CVE-2026-100644

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-26T14:16:46.583

Modified: 2026-09-26T14:16:46.703

Link: CVE-2026-100644

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T15:15:13Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')