# CVE-2026-69085: SiYuan before v3.7.3 SQL Injection via searchDocs

- Severity: Critical 9.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-03T13:20:40.650Z
- Modified: 2026-10-23T21:10:00.157Z
- Also known as: GHSA-33jq-p8c2-q3q4, GO-2026-6621
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.3 (not affected: 3.7.3)
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260721043339-eef10568384e

## Every score

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

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4> (exploit, advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchdocs> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-69085> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.7.3> (web)

## Sources

- CVE List: [CVE-2026-69085](https://www.cve.org/CVERecord?id=CVE-2026-69085), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-33jq-p8c2-q3q4](https://github.com/advisories/GHSA-33jq-p8c2-q3q4), CC-BY-4.0, modified 2026-10-07
- Go Vulnerability Database: [GO-2026-6621](https://pkg.go.dev/vuln/GO-2026-6621), CC-BY-4.0, modified 2026-10-07
- NVD: [CVE-2026-69085](https://nvd.nist.gov/vuln/detail/CVE-2026-69085), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-69085 · Whole record: https://cve.day/CVE-2026-69085.json · Rebuilt by cve.day 2026-11-25T22:59:30.868Z
