Security Digest · Vulnerability record

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

SiYuan versions

CVSS 9.9 Critical EPSS 1.6% · p75

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 1.6%, percentile 75: FIRST’s model estimates a 1.6% chance of exploitation activity in the next 30 days, higher than 75% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes github.com/siyuan-note/siyuan/kernel (Go) < 0.0.0-20260721002947-23a17d44b5f3, fixed in 0.0.0-20260721002947-23a17d44b5f3. Check your lockfile, including transitive dependencies.

What it is

SiYuan versions

From the GitHub advisory

CVE: This vulnerability corresponds to CVE-2026-69084.

Summary

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.

Details

Weakness type: CWE-89.

Product: github.com/siyuan-note/siyuan/kernel (Go) · Assigned by: VulnCheck · Published: 2026-08-03

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Gogithub.com/siyuan-note/siyuan/kernel< 0.0.0-20260721002947-23a17d44b5f30.0.0-20260721002947-23a17d44b5f3
VendorProductAffected versions (per CVE record)
siyuan-notesiyuan< 3.7.3

Severity scores

Scored byCVSSScoreVector
VulnCheck4.09.9 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
VulnCheck3.110 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
GitHub3.110.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 1.57% probability of exploitation activity in the next 30 days; percentile 75.

Timeline

  • — CVE record published by VulnCheck
  • — CVE record last updated
  • — GitHub-reviewed advisory GHSA-vh22-h7hf-www7 published (critical)

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. GitHub Security Advisory (GHSA-vh22-h7hf-www7) github.com

Vulnerability records

  1. GitHub Advisory GHSA-vh22-h7hf-www7 github.com
  2. CVE.org record CVE-2026-69084 cve.org
  3. NVD entry CVE-2026-69084 nvd.nist.gov

Other references from the CVE record and advisory

  1. VulnCheck Advisory: SiYuan before v3.7.3 SQL Injection via searchEmbedBlock vulncheck.com
  2. github.com github.com
  3. github.com github.com

Critical Go advisories · Today’s Security Digest