---
id: CVE-2026-101091
title: >-
  SiYuan versions before v3.8.4 fail to properly validate SQL statements in
  block query embed blocks executed against siyuan.db
summary: >-
  SiYuan versions before v3.8.4 fail to properly validate SQL statements in
  block query embed blocks executed against siyuan.db. Attackers can craft
  malicious .sy documents with non-read-only SQL statements that execute
  automatically durin…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N'
cwe:
  - CWE-89
vendor: siyuan-note
product: siyuan
affected:
  - siyuan < 3.8.4
published: '2026-09-28'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T22:17:30.550'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-101091'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-67p9-hm94-xwf3
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.4-sql-injection-via-block-query-embed
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-28T22:22:13.607Z'
---

## Overview

SiYuan versions before v3.8.4 fail to properly validate SQL statements in block query embed blocks executed against siyuan.db. Attackers can craft malicious .sy documents with non-read-only SQL statements that execute automatically during background indexing, rendering, or export operations without authentication.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
