{"answers":{"affected":"3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel.","exploited":"There is no known exploitation of CVE-2026-72807 in the wild and no public exploit code.","fix":"Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260723035036-0a176345e02a or later.","what":"CVE-2026-72807 is a high-severity SQL injection vulnerability in siyuan-note siyuan, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-72807 and fix it if it is affected.\n\nWhat it is: CVE-2026-72807 is a high-severity SQL injection vulnerability in siyuan-note siyuan, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-72807 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260723035036-0a176345e02a\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260723035036-0a176345e02a\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260723035036-0a176345e02a\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-72807/ (Markdown: https://insights.sbomify.com/CVE-2026-72807/index.md)","id":"CVE-2026-72807","markdown":"https://insights.sbomify.com/CVE-2026-72807/index.md","name":"CVE-2026-72807","record":{"aliases":["GHSA-x67c-8pwr-m8g3","GO-2026-6410"],"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 via malicious documents, enabling read and write access to notebooks in SiYuan.","user_interaction":"required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/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 before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim's kernel when the package is imported and rendered, enabling read and write access across notebooks.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SiYuan before v3.7.4 SQL Injection via queryBlocks template","id":"CVE-2026-72807","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.4 Information Disclosure via getFileAnnotation","id":"CVE-2026-72808"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260723035036-0a176345e02a"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":null,"source":"GHSA-x67c-8pwr-m8g3"},{"ecosystem":"Go","fixed":["0.0.0-20260723035036-0a176345e02a"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"GHSA-x67c-8pwr-m8g3"},{"ecosystem":"Go","fixed":["0.0.0-20260723035036-0a176345e02a"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"GO-2026-6410"}],"prev":{"headline":"SiYuan before v3.7.4 Authentication Bypass via Attribute View","id":"CVE-2026-72806"},"products":["siyuan"],"published":"2026-08-12","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-14","vendors":["siyuan-note"]},"summary":"Attackers can execute arbitrary SQL via malicious documents, enabling read and write access to notebooks in SiYuan.","url":"https://insights.sbomify.com/CVE-2026-72807/"}