# Duplicate Advisory: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook…

Source: https://junglewise.ai/threats/duplicate-advisory-unauthenticated-sql-injection-in-searchdocs-via-18d7d217  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-03  
License: CC BY 4.0 with a link back

Severity: critical · CVSS 10 · Published 2026-08-03

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-33jq-p8c2-q3q4. This link is maintained to preserve external references.

## Original Description
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.CVE-2026-69085

Technologies: [github.com/siyuan-note/siyuan/kernel (Go)](https://junglewise.ai/threats/technologies/github-com-siyuan-note-siyuan-kernel). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Critical severity, with a CVSS score of 10, published 3 August 2026.

**Which products and versions are affected?** github.com/siyuan-note/siyuan/kernel (Go) <= 3.7.2.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected?** Check whether you run github.com/siyuan-note/siyuan/kernel (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- github.com/siyuan-note/siyuan/kernel (Go) <= 3.7.2

## Related threats

- [SiYuan publish filter information disclosure in local storage](https://junglewise.ai/threats/go-2026-6836-siyuan-the-publish-filter-for-local-storage-returns-the-7f022e62)
- [SiYuan WebSocket parser differential allows unauthenticated event stream access](https://junglewise.ai/threats/cve-2026-73054-siyuan-a-parser-differential-between-the-websocket-keepalive)
- [SiYuan authFilePublishAccess information disclosure](https://junglewise.ai/threats/cve-2026-73630-siyuan-authfilepublishaccess-distinguishes-hidden-and-forbidden)
- [SiYuan database backlink information disclosure via publish filter](https://junglewise.ai/threats/cve-2026-73049-siyuan-the-publish-filter-for-database-backlinks-consults-the)
- [SiYuan local storage endpoint discloses administrator activity](https://junglewise.ai/threats/siyuan-the-publish-filter-for-local-storage-returns-the-administrator-s-fab71d28)
