Skip to main content

SiYuan EUVDEUVD-2026-58626

| CVE-2026-72811 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 published backlink/mention search as anonymous user
  2. Delivery
    Submit keyword containing single quote
  3. Exploit
    Break out of SQL string literal
  4. Execution
    Append stacked SQL statements
  5. Persist
    Execute arbitrary SQL on siyuan.db
  6. Impact
    Read and write across notebooks

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

The first-order path requires the target SiYuan instance to expose its publish/read surface such that an anonymous or RoleReader user can invoke the backlink/mention search - this is the concrete enabling condition. Exploitation needs the attacker to supply a keyword containing a single quote (the escaping only neutralizes double quotes), and the underlying SQLite driver must permit statement stacking, which the description states is the case on the main read-write handle. A distinct second-order path requires attacker-influenced stored document metadata (title, name, alias, or anchor text) containing a single quote to later flow into the search. Limiting factors: affected versions are <= v3.7.2 (v3.7.4 is fixed); instances that do not publish or that restrict the publish surface to trusted authenticated users remove the anonymous first-order reachability, and single-user local-only deployments have no untrusted actor on the search path.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N, base 9.9) reflects a genuinely high-severity issue: network-reachable, low complexity, no privileges or user interaction, with high confidentiality and integrity impact on both the vulnerable and subsequent systems (cross-notebook). The description corroborates the network/unauthenticated vector - the first-order path is reachable by an anonymous or RoleReader user on the publish surface - so CVSS and description are consistent rather than conflicting. Real-world priority is tempered by two factors: no EPSS score, KEV listing, or POC was provided (no public exploit identified at time of analysis), and exploitation is meaningfully realistic only where a SiYuan instance exposes the publish/read surface to untrusted users. Availability impact is None (VA:N/A:N), so this is a data-confidentiality/integrity risk rather than a denial-of-service one. Net: treat as a high-priority patch for any internet-exposed or multi-user SiYuan deployment; lower urgency for single-user, non-published, LAN-only instances.

Exploit ScenarioDerived

An attacker with only anonymous or reader access to a published SiYuan instance issues a backlink/mention search containing a single quote to break out of the SQL string literal, then appends stacked SQL statements that run on the main read-write siyuan.db handle. With low attack complexity and no authentication or user interaction required, the attacker reads content from notebooks they should not see and writes or alters blocks across notebooks. No public exploit was identified at time of analysis, though the single-quote breakout is straightforward to reproduce from the description.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC 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 14, 2026

SQL injection in SiYuan's backlink/mention search (kernel/model/backlink.go) lets unauthenticated attackers execute arbitrary SQL against the self-hosted note-taking application through v3.7.2. Because the search routine escapes only double quotes and leaves single quotes intact, a crafted keyword or malicious stored block metadata breaks out of the SQL string literal on the primary read-write siyuan.db handle, enabling cross-notebook read and write. VulnCheck reports the flaw (CVSS 4.0 base 9.9); no public exploit identified at time of analysis, and it is fixed in v3.7.4.

RemediationAI

Vendor-released patch: v3.7.4 - upgrade all SiYuan instances to v3.7.4 or later, which fixes the single-quote escaping in the backlink/mention search query; see the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q2vg-7qgx-x5fc. Until upgrading, reduce exposure of the first-order path by disabling or restricting the publish surface so anonymous and RoleReader users cannot reach the backlink/mention search, or by placing the instance behind authentication and network restrictions (VPN/reverse-proxy allowlist); the trade-off is loss of public publish/read functionality for shared workspaces. Because a second-order path exists via already-stored document metadata (title, name, alias, anchor text), also review and sanitize untrusted or imported content, noting that this does not remediate the underlying flaw and only reduces the attack surface. Given arbitrary read/write to siyuan.db was possible, back up databases and audit for unexpected cross-notebook modifications after patching.

Affected VersionsENISA

SiYuan 0 <3.7.4

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 0.0.0-20260723004839-1a5b3431d5ab
euvd siyuan fix: 3.7.4

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 an open-source, self-hosted personal knowledge-management/note-taking application whose kernel is written in Go and backs blocks and document metadata in an SQLite database (siyuan.db). The vulnerable code path builds the backlink/mention search using SQLite full-text MATCH/search statements by string-concatenating stored block metadata (title, name, alias, anchor text) together with a client keyword. The root cause is CWE-89 (improper neutralization of SQL syntax): sanitization escapes only the double-quote character, so a single quote (') is passed through unescaped and terminates the string literal. The problem is amplified because the query executes on the main read-write database handle through a driver that permits statement stacking, converting a read-only search into an arbitrary read/write primitive across all notebooks.

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 10.0 CRITICAL

Network-reachable anonymous SQLi with low complexity (PR:N/AC:L); scope change (S:C) reflects cross-notebook access beyond the query context; high confidentiality and integrity, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/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:H/SI:H/SA:N
SUSE CRITICAL

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 14, 2026 - 13:01 EUVD
CVE Published
Aug 14, 2026 - 11:35 cve.org
CRITICAL 9.9

DescriptionCVE.org

SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an anonymous or RoleReader user on the publish surface) or in stored document metadata (second-order) breaks out of the string literal. Because the query runs on the main read-write siyuan.db handle via a statement-stacking-capable driver, an attacker can execute arbitrary SQL, enabling cross-notebook read and write. Fixed in v3.7.4.

Latest POC

1 public PoC link from github

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

SiYuan self-hosted note-taking instances running v3.7.2 or earlier are vulnerable to unauthenticated attacks that expose all stored notebooks and enable attackers to read and modify sensitive business information. This SQL injection vulnerability requires urgent patching as it bypasses all authentication controls and directly threatens data confidentiality and integrity. Organizations must upgrade to v3.7.4 immediately to prevent potential data breaches.

Business Impact: Severe
Compensating Controls

Vendor-released patch: v3.7.4

Threat Intelligence Overview

EPSS Score
0.2%
Top 83% exploitable
Prevalence
Low
niche open-source self-hosted personal note-taking app, limited enterprise footprint
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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
None
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-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-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

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.

CVE-2026-25539 CRITICAL POC
9.1 Feb 04

SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope

CVE-2024-2692 CRITICAL POC
9.0 Apr 04

SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected
openSUSE Leap 15.6 Affected

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