CVE-2026-100644

SiYuan before v3.8.4 SQL Injection via dailyNoteSavePath

Published Sep 26, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:51 PM
Reserved
Sep 26, 2026, 2:32 AM
Status
Deferred
Published
Sep 26, 2026, 2:16 PM
Modified
Oct 8, 2026, 4:16 PM