{"schema":"threatline.record/2","record":{"id":"CVE-2026-116170","aliases":["GHSA-4hjx-84f6-gr7c"],"summary":"SiYuan before v3.8.7 SQL Injection via History Search op and query","details":"SiYuan before v3.8.7 contains an sql injection vulnerability that allows admin-token holders to read history.db by injecting unescaped op and type=3 query values. Attackers can send crafted UNION SELECT payloads to searchHistory or getHistoryItems endpoints to exfiltrate deleted document content, titles, and paths.","categories":["Unclassified"],"product":"siyuan","vendor":"siyuan-note","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-116170","source_modified_at":"2026-10-25T14:27:42.570Z","fetched_at":"2026-10-25T16:01:37.004770Z","product":"siyuan","vendor":"siyuan-note","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"3.8.7"},{"version":"3.8.7","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-116170","source_modified_at":"2026-10-25T14:27:42.570Z","fetched_at":"2026-10-25T16:01:37.004770Z","package":{"name":"siyuan","ecosystem":null},"version":"3.8.7","basis":"first unaffected version stated in the CVE record"}],"cvss":6.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-25T13:20:12.378Z","modified_at":"2026-10-25T14:27:42.570Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-116170","fetched_at":"2026-10-25T16:01:37.004770Z","source_modified_at":"2026-10-25T14:27:42.570Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4hjx-84f6-gr7c","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.7-sql-injection-via-history-search-op-and-query","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-25T14:27:42.570Z","content_hash":"3b2aca8f4125a977abfb4aa3db76f09790e8003406c55bf6d0f050dde44ac621"}}
