{"answers":{"affected":"3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-69084 exists.","fix":"Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260721002947-23a17d44b5f3 or later.","what":"CVE-2026-69084 is a critical SQL injection vulnerability in siyuan-note siyuan, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-69084 and fix it if it is affected.\n\nWhat it is: CVE-2026-69084 is a critical SQL injection vulnerability in siyuan-note siyuan, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-69084 exists.\n\nAffected packages and fixed versions:\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260721002947-23a17d44b5f3\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260721002947-23a17d44b5f3\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260721002947-23a17d44b5f3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-69084/ (Markdown: https://insights.sbomify.com/CVE-2026-69084/index.md)","id":"CVE-2026-69084","markdown":"https://insights.sbomify.com/CVE-2026-69084/index.md","name":"CVE-2026-69084","record":{"aliases":["GHSA-vh22-h7hf-www7","GO-2026-6377"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"SiYuan note-taking app","requires_auth":"none","summary":"Attackers can execute arbitrary SQL commands via the searchEmbedBlock API to read and modify notebook content in SiYuan.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SiYuan versions \u003c= v3.7.2 expose the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement verbatim to the main read-write siyuan.db handle with no single-statement, read-only, or admin restrictions. The endpoint is gated only by CheckAuth, making it reachable by the publish RoleReader token and by anonymous users when publish authentication is disabled. Because the underlying driver executes stacked statements, an attacker can read and modify content across all opened cleartext notebooks (encrypted per-box notebooks are excluded). Fixed in v3.7.3.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2026-08-09","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-08-09T20:02:45Z","kind":"github_poc","ref":"https://github.com/Boreas37/CVE-2026-69084-PoC","stars":1,"title":"CVE-2026-69084/69085 — SiYuan arbitrary SQL execution via searchEmbedBlock + searchDocs SQLi (CVSS 9.9). Verified on v3.7.2, rejected on v3.7.3."},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-69084.yaml","stars":null,"title":"SiYuan - SQL Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"SiYuan before v3.7.3 SQL Injection via searchEmbedBlock","id":"CVE-2026-69084","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"SiYuan before v3.7.3 SQL Injection via searchDocs","id":"CVE-2026-69085"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260721002947-23a17d44b5f3"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":null,"source":"GHSA-vh22-h7hf-www7"},{"ecosystem":"Go","fixed":["0.0.0-20260721002947-23a17d44b5f3"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"GHSA-vh22-h7hf-www7"},{"ecosystem":"Go","fixed":["0.0.0-20260721002947-23a17d44b5f3"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"GO-2026-6377"}],"prev":{"headline":"SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent","id":"CVE-2026-69083"},"products":["siyuan"],"published":"2026-08-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-14","vendors":["siyuan-note"]},"summary":"Attackers can execute arbitrary SQL commands via the searchEmbedBlock API to read and modify notebook content in SiYuan.","url":"https://insights.sbomify.com/CVE-2026-69084/"}