Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-69084

CVE-2026-69084: SiYuan: Unauthenticated arbitrary SQL execution via searchEmbedBlock (publish mode) : reader-reachable raw statement on read-write handle, cross-notebook read/write

September 3, 2026

The /api/search/searchEmbedBlock endpoint passes a client-supplied SQL statement verbatim to the database with no validation. The endpoint is gated by CheckAuth only reachable by the publish RoleReader token, and by the anonymous account when Publish.Auth.Enable is false. The statement runs on the main read-write siyuan.db handle through a driver that executes stacked statements, with no single-statement or read-only guard. An unauthenticated request can therefore execute arbitrary SQL reading and writing content across all cleartext notebooks.

Unlike SQL injection into a fixed query, this endpoint accepts a full SQL statement by design and simply fails to restrict who may call it or what the statement may do.

References

  • github.com/advisories/GHSA-vh22-h7hf-www7
  • github.com/siyuan-note/siyuan/commit/0015cbafbf685363b217bbc46283a3c0f51c79fa
  • github.com/siyuan-note/siyuan/commit/23a17d44b5f3da59c85e7fbee11236e6c12386b9
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-vh22-h7hf-www7
  • nvd.nist.gov/vuln/detail/CVE-2026-69084
  • www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchembedblock

Code Behaviors & Features

Detect and mitigate CVE-2026-69084 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260721002947-23a17d44b5f3

Fixed versions

  • 0.0.0-20260721002947-23a17d44b5f3

Solution

Upgrade to version 0.0.0-20260721002947-23a17d44b5f3 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-69084.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 04 Sep 2026 00:22:42 +0000.