---
title: "CVE-2026-69085: SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking"
url: https://erroneo.us/security/cve/CVE-2026-69085/
description: "CVE-2026-69085 (github.com/siyuan-note/siyuan/kernel (Go)): SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-08-03
date_modified: 2026-10-01
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-69085"
kev: false
cvss: 9.9
epss: 0.01488
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.5% , percentile 74: FIRST’s model estimates a 1.5% chance of exploitation activity in the next 30 days, higher than 74% 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-20260721043339-eef10568384e, fixed in 0.0.0-20260721043339-eef10568384e . Check your lockfile, including transitive dependencies.

## What it is

SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs endpoint, where the caller-supplied keyword parameter is concatenated directly into SQL statements with no escaping or parameter binding. The endpoint is reachable by a publish RoleReader token, or unauthenticated when publish mode is enabled with Publish.Auth.Enable set to false. Because the statement executes on a read-write SQLite handle via a driver that supports stacked (semicolon-separated) statements, an attacker can read and modify database content across all cleartext (non-encrypted) notebooks on the instance.

## Affected packages

- Go `github.com/siyuan-note/siyuan/kernel` < 0.0.0-20260721043339-eef10568384e → fixed: 0.0.0-20260721043339-eef10568384e

## Affected products (CVE record)

- siyuan-note siyuan: < 3.7.3

## Severity

- VulnCheck CVSS 4.0: 9.9 `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`
- VulnCheck CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`

## Exploitation

- 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.49% probability of exploitation activity in the next 30 days; percentile 74.

## Sources

- [GitHub Security Advisory (GHSA-33jq-p8c2-q3q4)](https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4)
- [GitHub Advisory GHSA-33jq-p8c2-q3q4](https://github.com/advisories/GHSA-33jq-p8c2-q3q4)
- [CVE.org record CVE-2026-69085](https://www.cve.org/CVERecord?id=CVE-2026-69085)
- [NVD entry CVE-2026-69085](https://nvd.nist.gov/vuln/detail/CVE-2026-69085)
- [VulnCheck Advisory: SiYuan before v3.7.3 SQL Injection via searchDocs](https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchdocs)
- [github.com](https://github.com/siyuan-note/siyuan/releases/tag/v3.7.3)

---
Source page: https://erroneo.us/security/cve/CVE-2026-69085/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
