Skip to main content

SiYuan EUVDEUVD-2026-52277

| CVE-2026-69084 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 exposed SiYuan API over network
  2. Delivery
    POST stacked SQL to /api/search/searchEmbedBlock
  3. Exploit
    Statement passed verbatim to read-write siyuan.db
  4. Execution
    Driver executes stacked read+write statements
  5. Impact
    Exfiltrate and modify cleartext notebook content

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

Requires network reachability to the SiYuan HTTP API endpoint /api/search/searchEmbedBlock on a vulnerable instance (<= v3.7.2). The endpoint is protected only by CheckAuth, so exploitation succeeds either with the publish RoleReader token or fully anonymously when publish authentication is disabled - the latter being the true PR:N case. The attack targets content in opened cleartext notebooks only; encrypted per-box notebooks are excluded and thus limit the blast radius. The key limiting factor is deployment posture: an instance not exposed to untrusted networks, or one with publish authentication enabled, raises the bar from anonymous to token-holding access. No user interaction is required.

Impact

The signals are strongly aligned toward high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates remote, low-complexity, unauthenticated exploitation with no user interaction, and the vulnerable-system impacts VC:H/VI:H plus subsequent-system SC:H/SI:H yield a 9.9 base score reflecting both confidentiality and integrity loss extending beyond the immediate component. The stacked-query capability makes the technical impact 'total' for the data plane (read and write). Reporting by VulnCheck (a credible exploit-intelligence vendor) and an existing GHSA advisory raise confidence in the finding. Countervailing context: PR:N is only fully accurate when publish authentication is disabled; in a hardened deployment the endpoint still requires the publish RoleReader token, which is a low bar but not truly anonymous - so real-world exposure depends on configuration. No EPSS score, KEV listing, or public POC was provided, so despite the critical rating there is no evidence of active or automated exploitation yet; treat this as high-urgency-to-patch rather than confirmed in-the-wild.

Exploit ScenarioDerived

An attacker who can reach a self-hosted SiYuan publish endpoint (either anonymously where publish auth is disabled, or with a low-privilege RoleReader token) sends a crafted request to /api/search/searchEmbedBlock containing a stacked SQL payload. The first statement exfiltrates block content from cleartext notebooks, while a trailing statement (after a semicolon) issues UPDATE/DELETE/INSERT operations to tamper with or destroy notes. No public POC was provided, but the low complexity and unauthenticated network vector make exploitation straightforward once the endpoint is exposed.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC Patch available 0.3% 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 (versions <= v3.7.2) lets attackers pass arbitrary SQL statements verbatim to the primary read-write siyuan.db handle via the /api/search/searchEmbedBlock endpoint. Because the endpoint is gated only by CheckAuth, it is reachable with the low-privilege publish RoleReader token - and by fully anonymous users when publish authentication is disabled - and the driver's support for stacked statements allows both reading and modifying content across all opened cleartext notebooks. No public exploit identified at time of analysis, but the flaw was reported by VulnCheck and carries a critical 9.9 CVSS 4.0 score; it is fixed in v3.7.3.

RemediationAI

Vendor-released patch: upgrade to SiYuan v3.7.3 or later, which fixes the endpoint per GHSA-vh22-h7hf-www7 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vh22-h7hf-www7). Until upgrading, the highest-impact compensating control is to ensure publish authentication is enabled (never expose the publish service anonymously), which forces attackers to at least present a RoleReader token and closes the fully-anonymous path - at the cost of requiring credentials for legitimate published-notebook readers. Additionally, restrict network access to the SiYuan service so it is not reachable from untrusted networks (bind to localhost or place behind an authenticated reverse proxy / VPN), and where feasible block or filter requests to /api/search/searchEmbedBlock at a proxy layer, accepting that this may break embed-block search for legitimate clients. For highly sensitive notebooks, use SiYuan's per-box encryption, since encrypted notebooks are excluded from the exposed cleartext handle. See the VulnCheck advisory (https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchembedblock) for details.

Affected VersionsENISA

SiYuan 0 <3.7.3

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 0.0.0-20260721002947-23a17d44b5f3
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/knowledge-management application that stores notebook content in a local SQLite database (siyuan.db). The vulnerability is a classic CWE-89 SQL Injection: the /api/search/searchEmbedBlock endpoint - intended to run scoped embed-block search queries - instead forwards a client-supplied SQL statement directly to the main read-write database handle without enforcing single-statement execution, read-only mode, or admin-only access. The underlying SQLite driver executes stacked (semicolon-separated) statements, so the injection is not limited to SELECT reads; it becomes a full read/write primitive. Encrypted per-box notebooks are excluded because their contents are not present in cleartext in the shared handle, but every opened cleartext notebook is exposed. The 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 10.0 CRITICAL

Remote unauthenticated endpoint reachable anonymously when publish auth is disabled (PR:N/AC:L); stacked SQL grants full read/write to the DB (C:H/I:H), and impact crossing into the shared DB across notebooks justifies S:C; no direct availability impact claimed (A:N).

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 03, 2026 - 14:02 EUVD
CVE Published
Aug 03, 2026 - 13:20 cve.org
CRITICAL 9.9

DescriptionCVE.org

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.

Latest POC

1 public PoC link from nuclei

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

Executive ViewAI

Why It Matters

SiYuan personal knowledge management deployments running version 3.7.2 or earlier face immediate risk of total data compromise through a critical SQL injection vulnerability in the search API endpoint. The flaw enables attackers to read and modify all stored notebooks with minimal or no authentication requirements, directly threatening the confidentiality and integrity of organizational knowledge bases. This vulnerability requires emergency remediation due to its critical severity and broad attack surface.

Business Impact: Severe
Compensating Controls

Vendor-released patch: v3.7.3. Interim mitigations pending patch deployment: restrict network access to the /api/search/searchEmbedBlock endpoint and disable public authentication mode; implement SQL query logging with alerts for anomalous patterns.

Threat Model

5 threats: Information Disclosure, Tampering, Elevation of Privilege and 1 more

6-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
self-hosted open-source note app, enthusiast userbase, limited enterprise footprint
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) Vendor 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.3%
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-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

CVE-2025-67488 HIGH POC
8.8 Dec 09

An authenticated ZipSlip path-traversal flaw in SiYuan's notes import feature (importZipMd) lets any credentialed user w

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