Advisory record · GHSA-33jq-p8c2-q3q4

SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking

CVSS 9.9 CriticalCriticalEPSS 0.014 · 72nd percentile

Critical, because:

  • CVSS score 9.9: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 1 Oct 2026, 14:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/siyuan-note/siyuan/kernelGo<0.0.0-20260721043339-eef10568384e0.0.0-20260721043339-eef10568384e
Identifiers
GHSA-33jq-p8c2-q3q4 · CVE-2026-69085 · GO-2026-6621
Weakness (CWE)
CWE-89
Published
1 Oct 2026
Updated
7 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SiYuan (Go kernel, github.com/siyuan-note/siyuan/kernel) before 0.0.0-20260721043339-eef10568384e is vulnerable to SQL injection in the /api/filetree/searchDocs endpoint, where the search keyword is concatenated into a SQL statement without escaping. An unauthenticated attacker can exploit this when publish mode is enabled with auth disabled, or with a publish reader token, to read and modify content across all non-encrypted notebooks. The fix is to upgrade to 0.0.0-20260721043339-eef10568384e.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.9 Critical 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:12 UTC First seen by agentprime
  2. 31 Oct 2026, 14:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.