Skip to main content

SiYuan CVE-2026-69085

| EUVDEUVD-2026-52278 CRITICAL
SQL Injection (CWE-89)
9.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach publish-mode searchDocs endpoint
  2. Delivery
    Send crafted keyword parameter
  3. Exploit
    Inject stacked SQL statements
  4. Execution
    Execute on read-write SQLite handle
  5. Impact
    Read and modify cleartext notebook data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires reaching the /api/filetree/searchDocs endpoint, which is possible in one of two ways: (1) fully unauthenticated when the instance runs in publish mode with the configuration setting Publish.Auth.Enable set to false, or (2) with a publish RoleReader token when publish auth is enabled. The keyword parameter is the injection vector. Data-modification impact additionally depends on the target notebooks being cleartext (non-encrypted) - encrypted notebooks are not affected - and on the driver's support for stacked statements over the read-write SQLite handle, both of which are default in affected versions. Limiting factors: an instance not running publish mode, or one with Publish.Auth.Enable=true and no leaked RoleReader token, substantially narrows or removes anonymous exposure.

Impact

This is a genuine high priority, not an inflated CVSS number. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes trivial remote exploitation with no attack requirements, and the VC:H/VI:H confidentiality-and-integrity impact matches the described read-and-modify capability over a read-write SQLite handle. The critical nuance is the privileges axis: PR:N holds only in the specific publish-mode configuration where Publish.Auth.Enable is false; otherwise a publish RoleReader token is required, which is a low-privilege but non-zero barrier - so real-world exposure depends heavily on deployment. No EPSS score, KEV listing, or POC was provided, so likelihood signals beyond the CVSS vector are absent. Net: high technical severity and low complexity, but blast radius is gated by whether an instance runs publish mode and how authentication is configured.

Exploit ScenarioDerived

An attacker who can reach a SiYuan instance running publish mode with Publish.Auth.Enable=false sends an HTTP request to /api/filetree/searchDocs with a crafted keyword containing SQL metacharacters and a stacked statement. Given the low attack complexity and no required user interaction, they read sensitive note contents and then append a second semicolon-separated statement to modify or delete records across all cleartext notebooks. No public exploit code has been identified, but the injection is straightforward to reproduce from the advisory details.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 03, 2026

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitrary SQL through the unescaped keyword parameter of the /api/filetree/searchDocs endpoint. Because the query runs on a read-write SQLite handle that permits stacked statements, an attacker can both read and tamper with content across every cleartext notebook, and the endpoint is reachable unauthenticated when publish mode runs with Publish.Auth.Enable=false. Reported by VulnCheck with a vendor patch available; no public exploit identified at time of analysis, and the CVSS 4.0 score is 9.9.

RemediationAI

Vendor-released patch: upgrade to SiYuan v3.7.3 or later, which is the primary and complete fix per the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4. If immediate patching is not possible, disable publish mode entirely, or if publish mode is required, ensure Publish.Auth.Enable is set to true so the /api/filetree/searchDocs endpoint cannot be reached unauthenticated - with the trade-off that legitimate anonymous readers will then need credentials. As a further compensating control, restrict network access to the SiYuan instance (bind to localhost or place behind an authenticating reverse proxy / VPN) and avoid exposing the publish endpoint to untrusted networks; note this does not stop an authenticated RoleReader token holder from exploiting the flaw, so patching remains necessary. Encrypting notebooks reduces exposure of their contents but does not remediate the injection itself.

Affected VersionsENISA

SiYuan 0 <3.7.3

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 0.0.0-20260721043339-eef10568384e
euvd siyuan fix: 3.7.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SiYuan is a self-hosted block-based note-taking application that stores note content and metadata in a local SQLite database and exposes a Go-based HTTP API. The flaw is a classic CWE-89 SQL injection: the /api/filetree/searchDocs handler concatenates the caller-supplied keyword directly into SQL text with no parameter binding or escaping. The severity is amplified by two implementation details - the query executes against a read-write (not read-only) SQLite connection, and the database driver honors stacked, semicolon-separated statements - so a single injection point yields both data exfiltration (SELECT) and arbitrary data modification (INSERT/UPDATE/DELETE) rather than read-only disclosure. The single affected CPE is cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.9 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
vuln.today AI 9.1 CRITICAL

Unauthenticated in the publish/Publish.Auth.Enable=false configuration justifies PR:N and AC:L; stacked read-write SQL gives C:H/I:H, with no availability impact so A:N and scope unchanged within the app's own database.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 03, 2026 - 14:02 EUVD
CVE Published
Aug 03, 2026 - 13:20 cve.org
CRITICAL 9.9

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

SiYuan versions before 3.7.3 contain a critical SQL injection vulnerability (CVE-2026-69085, CVSS 9.9) allowing unauthenticated attackers to read and modify all notebook content when authentication is disabled. Organizations using affected deployments face immediate risk of intellectual property theft and data tampering.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
self-hosted open-source note app, enthusiast userbase, limited enterprise footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

CVE-2026-29183 CRITICAL POC
9.3 Mar 06

Reflected XSS in SiYuan knowledge management before 3.5.9.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy